mirror of https://github.com/digint/btrbk
btrbk: filter for family=btrbk on archive
We don't support families other than "btrbk" yet: timeshift uses subdirs, and there's too many places where the snapshot_dir is supposed to be the directory where the snapshots reside in.action-cp
parent
17621ce3d4
commit
a6f7e67388
2
btrbk
2
btrbk
|
@ -5900,7 +5900,7 @@ MAIN:
|
||||||
{
|
{
|
||||||
next unless($vol->{node}{readonly});
|
next unless($vol->{node}{readonly});
|
||||||
my $snapshot_name = $vol->{node}{BTRBK_BASENAME};
|
my $snapshot_name = $vol->{node}{BTRBK_BASENAME};
|
||||||
unless(defined($snapshot_name)) {
|
unless(defined($snapshot_name) && ($vol->{node}{BTRBK_FAMILY} eq "btrbk")) {
|
||||||
WARN "Skipping subvolume (not a btrbk subvolume): $vol->{PRINT}";
|
WARN "Skipping subvolume (not a btrbk subvolume): $vol->{PRINT}";
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue