Reduce usage and reliance on downsampled snapshots
Keep more at a lower resolution, as really those are the most useful
This commit is contained in:
parent
82040a5c85
commit
f2290aafa6
2 changed files with 5 additions and 5 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 --keep-monthly 3 --group-by host"
|
export FORGET_OPTIONS="--keep-daily 60 --keep-monthly 6 --group-by host"
|
||||||
|
|
||||||
mkdir -p "$RESTIC_LOG_DIR"
|
mkdir -p "$RESTIC_LOG_DIR"
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,8 @@ sanoid_datasets:
|
||||||
sanoid_templates:
|
sanoid_templates:
|
||||||
production:
|
production:
|
||||||
frequently: 0
|
frequently: 0
|
||||||
hourly: 36
|
hourly: 48
|
||||||
daily: 21
|
daily: 28
|
||||||
monthly: 3
|
monthly: 3
|
||||||
yearly: 0
|
yearly: 0
|
||||||
autosnap: true
|
autosnap: true
|
||||||
|
@ -23,8 +23,8 @@ sanoid_templates:
|
||||||
|
|
||||||
replaceable:
|
replaceable:
|
||||||
frequently: 0
|
frequently: 0
|
||||||
hourly: 12
|
hourly: 24
|
||||||
daily: 5
|
daily: 7
|
||||||
monthly: 0
|
monthly: 0
|
||||||
yearly: 0
|
yearly: 0
|
||||||
autosnap: true
|
autosnap: true
|
||||||
|
|
Loading…
Reference in a new issue