btrbk: always preserve all raw targets (as long as incremental rotation is not implemented)

pull/57/head
Axel Burri 2015-10-23 19:06:55 +02:00
parent 1360e059a4
commit e732b92dd5
1 changed files with 4 additions and 0 deletions

4
btrbk
View File

@ -2773,6 +2773,10 @@ MAIN:
$subvol->{FORCE_PRESERVE} = "preserve forced: parent of another raw target"; $subvol->{FORCE_PRESERVE} = "preserve forced: parent of another raw target";
$child->{FORCE_PRESERVE} ||= "preserve forced: child of another raw target"; $child->{FORCE_PRESERVE} ||= "preserve forced: child of another raw target";
} }
# For now, always preserve all raw files.
# TODO: remove this line as soon as incremental rotation is implemented.
$subvol->{FORCE_PRESERVE} = "preserve forced: parent of another raw target";
} }
# TRACE(Data::Dumper->Dump([\%subvol_list], ["vinfo_raw_subvol_list{$droot}"])); # TRACE(Data::Dumper->Dump([\%subvol_list], ["vinfo_raw_subvol_list{$droot}"]));