Update readme
This commit is contained in:
parent
05c43b80fc
commit
1ee78adc03
12
README.md
12
README.md
|
|
@ -110,10 +110,22 @@ Change DATABASE URL (e.g after a rollback)
|
|||
|
||||
### Backup
|
||||
|
||||
Create a backup
|
||||
|
||||
`heroku pg:backups:capture --app <appname>`
|
||||
|
||||
The following command will provide a URL to where the backup can be downloaded (expires after 60 minutes)
|
||||
|
||||
`heroku pg:backups:url b001 --app <appname>`
|
||||
|
||||
To restore a backup, use
|
||||
|
||||
`heroku pg:backups:restore b001 DATABASE_URL --app <appname>`
|
||||
|
||||
To see the backup schedule
|
||||
|
||||
`heroku pg:backus:schedules --app <appname>`
|
||||
|
||||
## AWS
|
||||
|
||||
1. Create user with API Access and add `access key id` and `access key` to `.env` and set `USE_AWS=True`
|
||||
|
|
|
|||
Loading…
Reference in New Issue