On Mon, Mar 2, 2020 at 2:12 PM <backu...@kosowsky.org> wrote:

>
> --- 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
>

I can see about adding this to the Fedora and EPEL packages. Can you get me
a copy of the patch un-molested by email formatting? :)

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/

Reply via email to