"Christian G. Warden" writes:
Yesterday, one of my coworkers accidentally replaced config.pl with the
following:
$Conf{XferMethod} = "rsyncd";
$Conf{RsyncShareName} = "system";
$Conf{BackupFilesExclude} = ['/winnt'];
Now, obviously, this is a bad thing to do, but when backups started last
night, each host's backups were deleted:
2004/2/5 22:00:00 removing incr backup 6
2004/2/5 22:00:00 removing incr backup 8
2004/2/5 22:00:00 removing incr backup 9
2004/2/5 22:00:00 removing incr backup 10
2004/2/5 22:00:01 removing incr backup 11
2004/2/5 22:00:01 removing incr backup 12
2004/2/5 22:00:01 removing full backup 0
2004/2/5 22:00:01 removing full backup 7
May I suggest that if backuppc finds an incomplete config file (to be
defined) that it aborts?
I've changed it so that if $Conf{FullKeepCnt} is <= 0 (or undefined)
then no backups will be expired. This fix is now in CVS, so it will
be in the next version.
Craig
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
