added more documentation for frequent snapshots

This commit is contained in:
Christoph Klaffl 2017-11-08 21:40:30 +01:00
parent c9adcdab1e
commit 8bd98f1800
2 changed files with 11 additions and 2 deletions

View File

@ -26,6 +26,7 @@ And its /etc/sanoid/sanoid.conf might look something like this:
############################# #############################
[template_production] [template_production]
frequently = 0
hourly = 36 hourly = 36
daily = 30 daily = 30
monthly = 3 monthly = 3

View File

@ -16,8 +16,16 @@ recursive =
use_template = use_template =
process_children_only = process_children_only =
# The period in minutes for frequent snapshots, # for snapshots shorter than one hour, the period duration must be defined
# should be in the range of 1-30 and divide an hour without remainder # in minutes. Because they are executed within a full hour, the selected
# value should divide 60 minutes without remainder so taken snapshots
# are apart in equal intervals. Values larger than 59 aren't practical
# as only one snapshot will be taken on each full hour in this case.
# examples:
# frequent_period = 15 -> four snapshot each hour 15 minutes apart
# frequent_period = 5 -> twelve snapshots each hour 5 minutes apart
# frequent_period = 45 -> two snapshots each hour with different time gaps
# between them: 45 minutes and 15 minutes in this case
frequent_period = 15 frequent_period = 15
# If any snapshot type is set to 0, we will not take snapshots for it - and will immediately # If any snapshot type is set to 0, we will not take snapshots for it - and will immediately