add weeklies documentation

This commit is contained in:
Christoph Klaffl 2026-02-18 15:20:23 +01:00
parent 1ae8f26e82
commit 730bce6d38
No known key found for this signature in database
GPG Key ID: 8FC1D76EED4970D2
2 changed files with 5 additions and 1 deletions

View File

@ -42,13 +42,14 @@ And its /etc/sanoid/sanoid.conf might look something like this:
frequently = 0 frequently = 0
hourly = 36 hourly = 36
daily = 30 daily = 30
weekly = 4
monthly = 3 monthly = 3
yearly = 0 yearly = 0
autosnap = yes autosnap = yes
autoprune = yes autoprune = yes
``` ```
Which would be enough to tell sanoid to take and keep 36 hourly snapshots, 30 dailies, 3 monthlies, and no yearlies for all datasets under data/images (but not data/images itself, since process_children_only is set). Except in the case of data/images/win7, which follows the same template (since it's a child of data/images) but only keeps 4 hourlies for whatever reason. Which would be enough to tell sanoid to take and keep 36 hourly snapshots, 30 dailies, 4 weeklies, 3 monthlies, and no yearlies for all datasets under data/images (but not data/images itself, since process_children_only is set). Except in the case of data/images/win7, which follows the same template (since it's a child of data/images) but only keeps 4 hourlies for whatever reason.
For more full details on sanoid.conf settings see [Wiki page](https://github.com/jimsalterjrs/sanoid/wiki/Sanoid#options). For more full details on sanoid.conf settings see [Wiki page](https://github.com/jimsalterjrs/sanoid/wiki/Sanoid#options).

View File

@ -55,6 +55,7 @@
frequently = 0 frequently = 0
hourly = 36 hourly = 36
daily = 30 daily = 30
weekly = 4
monthly = 3 monthly = 3
yearly = 0 yearly = 0
autosnap = yes autosnap = yes
@ -65,6 +66,7 @@
frequently = 0 frequently = 0
hourly = 30 hourly = 30
daily = 90 daily = 90
weekly = 4
monthly = 12 monthly = 12
yearly = 0 yearly = 0
@ -86,6 +88,7 @@
frequently = 0 frequently = 0
hourly = 30 hourly = 30
daily = 90 daily = 90
weekly = 4
monthly = 3 monthly = 3
yearly = 0 yearly = 0