APP_NAME: heroku app name 例如:sushi
DATABASE_URL: global name for postgres add-on 例如:postgresql-curly-xxx
创建备份
heroku pg:backups:capture --app APP_NAME
heroku pg:backups:schedule DATABASE_URL --at '02:00 America/Los_Angeles' --app APP_NAME
检查备份状态
heroku pg:backups --app APP_NAME
修复备份
heroku pg:backups:restore b101 DATABASE_URL --app APP_NAME
修复备份
heroku pg:backups:restore b101 postgresql-curly-XXX --app my_app_name