Skip to content

Instantly share code, notes, and snippets.

@dandrust
Created January 11, 2019 15:24
Show Gist options
  • Save dandrust/d13b82b8d4db4896ea078287d5ddc605 to your computer and use it in GitHub Desktop.
Save dandrust/d13b82b8d4db4896ea078287d5ddc605 to your computer and use it in GitHub Desktop.
heroku pg:backups:capture --app=production-app
heroku pg:backups --app=production-app
=== Backups
ID Created at Status Size Database
──── ───────────────────────── ─────────────────────────────────── ──────── ────────
b001 2018-08-01 14:21:51 +0000 Completed 2018-08-01 14:22:09 +0000 1.62GB BLUE
heroku pg:backups:restore production-app::b001 --app=feature-staging-app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment