Pull a postgres database from a source Heoroku app and restore it a destination Heroku app.
1.2K
This image will run heroku pg:pull on your source app and restore it to a local postgres server running in the container. It will then run heroku pg:reset on the destination app deleting all content in the database. Next It will run a heroku pg:push to your destination app which restores all content from the source app.
docker logindocker pull jshapiro26/heroku_pg_migratedocker run -v ~/.netrc:/root/.netrc jshapiro26/heroku_pg_migrate <source_app_name> <destination_app_name>Content type
Image
Digest
Size
477.6 MB
Last updated
almost 10 years ago
docker pull jshapiro26/heroku_pg_migrate