OpenOversight icon indicating copy to clipboard operation
OpenOversight copied to clipboard

backups are way too big

Open redshiftzero opened this issue 5 years ago • 4 comments

Our backup strategy at this point involves fetching gigabytes of data. We should do at least one of the following:

  1. Emit progress output to prevent backups running in circle from failing due to no build output (if there isn't output in a 10 minute window, the job will fail)
  2. Prune trash images to reduce backup size: #205
  3. Incremental backups
  4. Something else?

redshiftzero avatar Jun 18 '20 13:06 redshiftzero

from the OO meeting just now I learned (sorry I'm not citing who it was) it turns out we can set up backups of the images on the AWS S3 side, we should look into doing that instead

redshiftzero avatar Aug 07 '20 00:08 redshiftzero

I think a backup procedure should be developed just to make it more uniform for multiple deployment strategies. For small enough deployments, there wouldn't even need to be an S3 deployment, but with a sufficiently large photo archive, S3 type buckets would be good. It's worth noting that since AWS offers glacier, that could be used for longterm backup storage specifically for AWS. Versioning can be enabled for the S3 buckets.

ghost avatar Aug 07 '20 00:08 ghost

This is probably a bit lower priority than it was because it still fits on the prod machine, but when it no longer does it'll be a real annoying time for us, so still better to fix :)

r4v5 avatar Nov 08 '20 17:11 r4v5

Thanks @r4v5 for fixing the production backup! So the remaining thing to do here is to find a better solution to back up the image data in our S3-bucket, and then have the existing backup functionality only deal with the database, right?

abandoned-prototype avatar Nov 09 '20 05:11 abandoned-prototype