trjohnson19 / docker-stack

Home server Docker stack
GNU Affero General Public License v3.0
2 stars 0 forks source link

Don't backup `mariadb` and `postgres` `data` dirs #76

Closed trjohnson19 closed 5 months ago

trjohnson19 commented 5 months ago

https://github.com/trjohnson19/docker-stack/blob/67d1a2c6132aa4f9343910c958c583527ab6f850/backup-scripts/borg-patternfile.example.lst#L242

https://github.com/trjohnson19/docker-stack/blob/67d1a2c6132aa4f9343910c958c583527ab6f850/backup-scripts/borg-patternfile.example.lst#L311

MariaDB and Postgres data dirs should not be backed up because the DBs are being dumped to .sql files, making the data dirs redundant and a waste of space.

trjohnson19 commented 5 months ago

Halfway solved via #75