Dump RefineryCMS Content
Would be great if it would be possible to dump/backup the content to the file system. f.e. creating yml or seed from the productive db..
Call me old fashion but I still like doing backups at the db level so I'm -1 on this as I don't see any real benefit from this feature.
The idea is also to dump the pages from one environment/server and import it on a other environment/server without copy the db.
No only production backup.
Can't you just dump development db data and import it in production db?
Yes. But I don't like the idea of that..
In my case I want to copy the content from the development env to the production server. Copy development db to prod. system is not really a good idea..
Wait, so we're not talking just about db data? What counts as content? Can't you put that content in vc? Sorry for asking all of this but I just want to understand what are you exactly proposing :)
Maybe my the work flow is different from yours.
Because I am responsible for the cms and the content I have done everything in the dev. environment. That means local the site is finished. Now I want to deploy the local site direct to production server with all local finished content.
I could write seeds manually for the content, but it would be great if there is way to generate the seeds from the database.
But those seeds wouldn't be any different than raw sql dumps...
This would actually be very cool but very difficult. Heroku allows you to do this using heroku db:push which uses the gem 'taps'. However as Refinery is a Rails application I'm sure that many tools exist already to do this job of migrating data from development to production? Maybe we can harness one such tool?
https://github.com/ludicast/yaml_db looks interesting..
RobWu: I was going to mention yaml_db. It can be used independently of refinerycms. Good luck.
For the record, I'm still not 100% certain that we should handle this process. The better case may be to provide a guide?
Parndt: I think that database data migration is out of the scope of refinerycms. The guide is not necessary also.