Forget snapshots in groups by host
By default, it includes the path, which means path changes result in very old snapshots https://twitter.com/RealOrangeOne/status/1484217495124852748
This commit is contained in:
parent
1db289b604
commit
c1319a134a
1 changed files with 1 additions and 1 deletions
|
@ -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_FILE="$RESTIC_LOG_DIR/$1-$(date -Iseconds).log"
|
||||
|
||||
export FORGET_OPTIONS="--keep-daily 30"
|
||||
export FORGET_OPTIONS="--keep-daily 30 --group-by host"
|
||||
|
||||
mkdir -p "$RESTIC_LOG_DIR"
|
||||
|
||||
|
|
Loading…
Reference in a new issue