Open jonathan-s opened 5 years ago
yessss +100
S3 bucket too.
This would be nice feature for https://github.com/bfirsh/heroku-tarsnap-backups in fact - a script to automatically regularly restore the backups to a staging app. The restore app could be attached as RESTORE_DATABASE and RESTORE_BUCKETEER or whatever.
Having as part of the sidecar app also means we don't have to add the tarsnap key to the main app's config (one of the reason I did a sidecar app in the first place).
So we're making backups. Though we don't know for sure if these backups work :). So I'm suggesting that there would be some kind of cron job or similar that would pull the latest backup and restore that backup on staging.
We'd have an up to date staging and we'd know that backups work for sure.