We currently back up the hubbleds database nightly (3:20am ET), and the 3 most recent copies are saved. This doesn't give us a lot of lead time if something catastrophic happens to the db and it takes us > 3 days to notice that there is a problem.
Short-term solution -
- do the easy thing and set up AWS to keep 2 weeks worth of backups since our db size is currently small (~40 MB).
- set up a job that automatically runs ~once a month to dump a copy of the db into an S3 bucket or store it somewhere locally.
In the longer term, let's see if there is a way to keep a staggered length of backups (1 day ago, 2 days ago, 1 week ago, 2 weeks ago, 1 month ago, etc).
We currently back up the hubbleds database nightly (3:20am ET), and the 3 most recent copies are saved. This doesn't give us a lot of lead time if something catastrophic happens to the db and it takes us > 3 days to notice that there is a problem.
Short-term solution -
In the longer term, let's see if there is a way to keep a staggered length of backups (1 day ago, 2 days ago, 1 week ago, 2 weeks ago, 1 month ago, etc).