City-of-Bloomington / uReport

Issue tracking and constituent relationship management system with an Open311 (GeoReport v2) endpoint designed for local governments
https://bloomington.in.gov/crm
GNU Affero General Public License v3.0
41 stars 29 forks source link

Don't include images in nightly tarballs #387

Closed inghamn closed 3 years ago

inghamn commented 3 years ago

We rely on two levels of backup and restore. We create nightly tarballs and save them on the server hard drive; and we also have the server backed up by an external system.

The server's hard drive is continually getting filled, with 80% of it the hard drive being used for nightly tarballs. The 90% of the size of a backup is the user uploaded images. By backing these up nightly, and keeping five days worth of backups, we're multiplying storage requirements by five.

To save space, nightly tarballs should only include the database. We will rely on the external backup system to capture the user uploaded images.