Database Reference
In-Depth Information
Restoring from a backup
The backup restore process is a destructive operation. The existing data is deleted and re-
placed with the data in the backup. You can do this process via the Heroku client through
the pgbackups:restore command. It expects you to enter the database configuration
variable and the backup ID to perform the restore:
$ heroku pgbackups:restore DATABASE_URL a001 --app
your-app-name
HEROKU_POSTGRESQL_COBALT_URL (DATABASE_URL) <---restore---
a001 DATABASE_URL
2014/07/27 04:21.28 +0000
1.4KB
! WARNING: Destructive Action
! This command will a
ffect the app: your-app-name
! To proceed, type " your-app-name " or re-run this
command with --confirm your-app-name
> your-app-name
Retrieving... done
Restoring... done
Tip
This is a destructive action; you are prompted to enter the name of your app to confirm the
process.
Search WWH ::




Custom Search