BackupPC-users

Re: [BackupPC-users] Feature or bug? Full backup (mis)numbered as level 1

2008-12-30 01:53:56
Subject: Re: [BackupPC-users] Feature or bug? Full backup (mis)numbered as level 1
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
Date: Mon, 29 Dec 2008 22:51:50 -0800
Jeff Kosowsky writes:

> Actually, after doing some subsequent incrementals, I believe it is a
> 'bug' and not a feature.

Yes, definitely a bug.  Here's a patch, which will shortly
be in CVS.

Craig

--- bin/BackupPC_dump.orig   2008-12-29 02:09:04.643105800 -0800
+++ bin/BackupPC_dump   2008-12-29 22:46:13.014051700 -0800
@@ -413,7 +413,7 @@
 #
 # Decide whether we do nothing, or a full or incremental backup.
 #
-if ( @Backups == 0
+if ( $lastFullTime == 0
         || $opts{f}
         || (!$opts{i} && (time - $lastFullTime > $Conf{FullPeriod} * 24*3600
             && time - $lastIncrTime > $Conf{IncrPeriod} * 24*3600)) ) {


------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>