### List backups

```
heroku login
heroku pg:backups --app skillbox-prod
```


### 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>`

To download a backup use
`heroku pg:backups:download --app <appname>`
