Open log1-c opened 3 years ago
Maybe something like this?
@@ -138,6 +138,10 @@
push(@manually_excluded_snapshots,"$vol_name/$snap_name\n");
next;
}
+ elsif($snap_name =~ m/$excludeliststr/){
+ push(@manually_excluded_snapshots,"$vol_name/$snap_name\n");
+ next;
+ }
}
if($age >= $AgeOpt){
Currently the script allows to filter/exclude volumes by name/regex. It would be nice to have this option for the snapshot names as well. E.g. to filter out snapshots containing the string "snapmirror".