diff --git a/sanoid b/sanoid index 42f319e..ab8607d 100755 --- a/sanoid +++ b/sanoid @@ -130,6 +130,7 @@ sub monitor_snapshots { my @types = ('yearly','monthly','daily','hourly','frequently'); foreach my $type (@types) { + if ($config{$section}{$type} == 0) { next; } my $smallerperiod = 0; # we need to set the period length in seconds first