user1328021
user1328021

Reputation: 9830

How do I database off Heroku to my local machine? I have a Django app (not Rails)

How do I get my database off Heroku? I'm trying to figure out how to sync with my local machine.

I easily found instructions for a rails app, but not Django.

Upvotes: 2

Views: 497

Answers (2)

Will
Will

Reputation: 2951

While convenient, using taps may not replicate your data exactly and may run into errors for larger transfers. To import or export data from your production system, we highly recommend using pgbackups instead. https://devcenter.heroku.com/articles/pgbackups

Upvotes: 1

dicato
dicato

Reputation: 684

The heroku cli provides the "db" command to move your data between your local machine and heroku.

See their help: https://devcenter.heroku.com/articles/taps

And their blog post from a couple years ago: http://blog.heroku.com/archives/2009/3/18/push_and_pull_databases_to_and_from_heroku/

Upvotes: 0

Related Questions