Skip to content

Instantly share code, notes, and snippets.

View mistrikushal's full-sized avatar
🏠
Working from home

Kushal mistrikushal

🏠
Working from home
View GitHub Profile
@mistrikushal
mistrikushal / heroku pg backup restore
Last active September 18, 2017 18:05
Heroku PG backup and restore
# heroku pg restore from first app
$ heroku pg:backups:capture --app sushi
# download the backup (optional)
$ heroku pg:backups:url b001 --app sushi
# in above command b001 is the ID of a backup which will be displayed on terminal once backup is done
# check the backup information
$ heroku pg:backups:info b017 --app sushi

Keybase proof

I hereby claim:

  • I am mistrikushal on github.
  • I am kmistryrubydev (https://keybase.io/kmistryrubydev) on keybase.
  • I have a public key ASB4wGyJe6ayMnPZYlV9wftlxJeiSXZmo6ot6Q_cJ9INJAo

To claim this, I am signing this object: