On Mar 4, 2:27 am, MAwiniarski <mawiniar...@gmail.com> wrote:
> Greetings,
>
> Having app deployed on Heroku, how to fetch database data
> so to have backup locally?
1) Dump the data using
heroku rake db:data:dump
2) follow the instructions in the "docs" page for pulling down the
code. The data will come with it - it will be in db/data.yml
You can load it into your local app with
rake db:data:load
GaJ
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---