bookwyrm/postgres-docker/cronfile
bcj 84b525f83e Add a script for pruning old backup files
Adds a pruning script which is installed but not set to run by default.
Also adds for that script that can be run in a container that replicates the db container's conditions
2021-03-08 23:16:34 -06:00

5 lines
274 B
Text

0 0 * * * /backups/backup.sh
# If uncommented, this script will weed the backups directory. It will keep the 14
# most-recent backups, then one backup/week for the next four backups, then one
# backup/month after that.
# 0 1 * * * /backups/weed.sh -d 14 -w 4 -m -1 /backups