new prune-old-backups cron script.

This commit is contained in:
2020-04-27 16:48:34 +00:00
parent 1fe6c6509c
commit f1546487b4
2 changed files with 37 additions and 0 deletions
+6
View File
@@ -10,6 +10,12 @@ declare -A STORAGE_ALERT
# storage in GiB
STORAGE_ALERT=(["/"]=5)
# when set to 0, all backups are kept
PRUNE_DOWN_TO=0
# the directory with backups to cleanup
PRUNE_DIRECTORY="/home/ubuntu/data"
SERVER_DOMAIN="localhost"
DISCORD_SERVER_NAME="<YOUR SERVER>"