Keep data for a bit longer
Don't ask me why I did this...
This commit is contained in:
parent
2c7e4e5532
commit
d7056861b9
2 changed files with 6 additions and 6 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_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 30 --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"
|
||||||
|
|
||||||
|
|
|
@ -14,17 +14,17 @@ sanoid_datasets:
|
||||||
sanoid_templates:
|
sanoid_templates:
|
||||||
production:
|
production:
|
||||||
frequently: 0
|
frequently: 0
|
||||||
hourly: 24
|
hourly: 36
|
||||||
daily: 14
|
daily: 21
|
||||||
monthly: 2
|
monthly: 3
|
||||||
yearly: 0
|
yearly: 0
|
||||||
autosnap: true
|
autosnap: true
|
||||||
autoprune: true
|
autoprune: true
|
||||||
|
|
||||||
replaceable:
|
replaceable:
|
||||||
frequently: 0
|
frequently: 0
|
||||||
hourly: 6
|
hourly: 12
|
||||||
daily: 2
|
daily: 5
|
||||||
monthly: 0
|
monthly: 0
|
||||||
yearly: 0
|
yearly: 0
|
||||||
autosnap: true
|
autosnap: true
|
||||||
|
|
Loading…
Reference in a new issue