Don't keep quite so many backups

This results in a huge index which some smaller VMs can't handle
This commit is contained in:
Jake Howard 2022-09-21 08:48:05 +01:00
parent eccefcd7e0
commit 71732b7b7c
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -11,7 +11,7 @@ export GOGC=20 # HACK: Work around for restic's high memory usage https://githu
export RESTIC_LOG_DIR="$HOME/log" export RESTIC_LOG_DIR="$HOME/log"
export RESTIC_LOG_FILE="$RESTIC_LOG_DIR/$1-$(date -Iseconds).log" export RESTIC_LOG_FILE="$RESTIC_LOG_DIR/$1-$(date -Iseconds).log"
export FORGET_OPTIONS="--keep-daily 60 --keep-monthly 6 --group-by host" export FORGET_OPTIONS="--keep-daily 30 --keep-monthly 3 --group-by host"
mkdir -p "$RESTIC_LOG_DIR" mkdir -p "$RESTIC_LOG_DIR"