Graham Seaman wrote at about 21:19:57 +0000 on Monday, March 2, 2020: > That's beautiful! So simple. Do you think it will get added? > > Otherwise, I'll just need to make sure I manually add it back each time > Debian uprades its BackupPC - > > easy, but also easy to accidentally miss :-( Trust me, I live with that fear every time I upgrade to make sure I 'patch' the source...
> > Graham > > > On 02/03/2020 19:52, backu...@kosowsky.org wrote: > > > > > I added some simple code for v4 that allows you to mark some versions > > as frozen -- which IMO is a very important feature... > > Would love if Craig added that <hint> <hint> > > > > > > --- BackupPC_dump.orig 2020-02-02 10:30:49.000000000 -0500 > > +++ BackupPC_dump 2020-02-02 10:34:28.955761936 -0500 > > @@ -1871,6 +1871,9 @@ > > my $noDelete = $i + 1 < @$Backups ? $Backups->[$i+1]{noFill} > > : 0; > > $noDelete = 0 if ( !$Backups[$i]{preV4} ); > > > > + #Don't delete full backups that have '.save' in their root > > directory > > + $noDelete = 1 if -e $Dir . "/" . $Backups[$i]{num} > > . "/.save"; > > + > > if ( !$noDelete && > > ($fullKeepIdx >= @$fullKeepCnt > > || $k > 0 > > > > > > NOTE: just do: > > touch TopDir/pc/<host>/<num>/.save > > > >> I would just archive the backup you want to keep to another media. > > > > > > Thanks, > > > Richard > > > _______________________________________________ > > > BackupPC-users mailing list > > > BackupPC-users@lists.sourceforge.net > > > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > > > Wiki: http://backuppc.wiki.sourceforge.net > > > Project: http://backuppc.sourceforge.net/ > > > > > > _______________________________________________ > > BackupPC-users mailing list > > BackupPC-users@lists.sourceforge.net > > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > > Wiki: http://backuppc.wiki.sourceforge.net > > Project: http://backuppc.sourceforge.net/ > > > _______________________________________________ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/