Merge pull request #1079 from phreaker0/doc-weeklies

add weeklies documentation
This commit is contained in:
Jim Salter 2026-02-18 17:00:11 -05:00 committed by GitHub
commit b4a5394d1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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
hourly = 36
daily = 30
weekly = 4
monthly = 3
yearly = 0
autosnap = 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).

View File

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