From e732b92dd5cbf078b56eef407bc0fb5056f7be2b Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Fri, 23 Oct 2015 19:06:55 +0200 Subject: [PATCH] btrbk: always preserve all raw targets (as long as incremental rotation is not implemented) --- btrbk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/btrbk b/btrbk index 493728e..26de668 100755 --- a/btrbk +++ b/btrbk @@ -2773,6 +2773,10 @@ MAIN: $subvol->{FORCE_PRESERVE} = "preserve forced: parent 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}"]));