-
Notifications
You must be signed in to change notification settings - Fork 4
Heroku Notes
Gregory Kan edited this page Jan 16, 2018
·
7 revisions
Running seed:
heroku run npm run db seed:run --app cobuy-tapin
Running migrations:
heroku run npm run db migrate:latest --app cobuy-tapin
List backups:
heroku pg:backups --app cobuy-tapin
Get URL for previous DB backup:
heroku pg:backups:url <backupId> --app cobuy-tapin
Create backup:
heroku pg:backups:capture --app cobuy-tapin
Restore previous (i.e. most recent) backup:
heroku pg:backups:restore --app cobuy-tapin