Heroku add-on pgbackups provides ability to import export database.
link here: https://devcenter.heroku.com/articles/heroku-postgresql
https://devcenter.heroku.com/articles/heroku-postgres-import-export
Access to heroku postgres DB prompt
heroku pg:psql
Djano South plugin which enables migrations
http://www.mikeball.us/blog/using-south-on-heroku/
link here: https://devcenter.heroku.com/articles/heroku-postgresql
https://devcenter.heroku.com/articles/heroku-postgres-import-export
heroku pgbackups:capture $ curl -o latest.dump `heroku pgbackups:url`
$ heroku pgbackups:restore DATABASE 'https://s3.amazonaws.com/me/items/3H0q/mydb.dump'
Access to heroku postgres DB prompt
heroku pg:psql
Djano South plugin which enables migrations
http://www.mikeball.us/blog/using-south-on-heroku/
No comments:
Post a Comment