mirror of https://github.com/digint/btrbk
btrbk: honor --exclude on backup candidates
parent
c0da910276
commit
4c174c8f72
4
btrbk
4
btrbk
|
@ -7013,6 +7013,10 @@ MAIN:
|
|||
DEBUG "Found correlated target of: $snapshot->{PRINT}";
|
||||
next;
|
||||
}
|
||||
if(my $ff = vinfo_match(\@exclude_vf, $snapshot)) {
|
||||
INFO "Skipping backup candidate \"$snapshot->{PRINT}\": Match on exclude pattern \"$ff->{unparsed}\"";
|
||||
next;
|
||||
}
|
||||
|
||||
DEBUG "Adding backup candidate: $snapshot->{PRINT}";
|
||||
push(@schedule, { value => $snapshot,
|
||||
|
|
Loading…
Reference in New Issue