BackupPC-users

[BackupPC-users] How to delete old backups

2008-05-29 03:11:12
Subject: [BackupPC-users] How to delete old backups
From: Mauro Condarelli <mc5686 AT mclink DOT it>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 29 May 2008 09:10:32 +0200
Hi,
sorry for the apparently obvious question, but I couldn't find a good
answer...
I have BackupPC installed and working to backup the localhost (which is
also a file server) and two other hosts (one Linux and one WinXP).
My backup storage is big enough to hold two full backups, but not three.
I have thus set FullKeepCnt=1 and FullKeepCntMin=1 thinking the older
full backup would be deleted as soon as a new one is completed.
The complete schedule is:

Full Backups
FullPeriod
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_fullperiod_>

 Override       
FullKeepCnt
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_fullkeepcnt_>

 Override       
FullKeepCntMin
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_fullkeepcntmin_>

 Override       
FullAgeMax
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_fullagemax_>

 Override       
Incremental Backups
IncrPeriod
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_incrperiod_>

 Override       
IncrKeepCnt
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_incrkeepcnt_>

 Override       
IncrKeepCntMin
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_incrkeepcntmin_>

 Override       
IncrAgeMax
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_incragemax_>

 Override       
IncrLevels
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_incrlevels_>

 Override       
IncrFill
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_incrfill_>

 Override       
Blackouts
BackupsDisable
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_backupsdisable_>

 Override       
BlackoutBadPingLimit
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_blackoutbadpinglimit_>

 Override       
BlackoutGoodCnt
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_blackoutgoodcnt_>

 Override       
BlackoutPeriods
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_blackoutperiods_>

 Override       
        
hourBegin       
hourEnd         
weekDays        

Other
PartialAgeMax
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_partialagemax_>

 Override       
RestoreInfoKeepCnt
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_restoreinfokeepcnt_>

 Override       
ArchiveInfoKeepCnt
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_archiveinfokeepcnt_>

 Override       
BackupZeroFilesIsFatal
<http://localhost/backuppc/index.cgi?action=view&type=docs#item__conf_backupzerofilesisfatal_>

 Override       



Apparently this is not the case: I now have:
Backup#         Type    Filled  Level   Start Date      Duration/mins   Age/days
Server Backup Path
1
<http://localhost/backuppc/index.cgi?action=browse&host=localhost&num=1>
full    yes     0       4/30 13:50      284.1   28.8    
/media/BackupPC/pc/localhost/1
4
<http://localhost/backuppc/index.cgi?action=browse&host=localhost&num=4>
incr    no      1       5/3 14:00       0.9     25.8    
/media/BackupPC/pc/localhost/4
5
<http://localhost/backuppc/index.cgi?action=browse&host=localhost&num=5>
incr    no      1       5/4 14:00       8.7     24.8    
/media/BackupPC/pc/localhost/5
6
<http://localhost/backuppc/index.cgi?action=browse&host=localhost&num=6>
incr    no      1       5/5 20:00       12.2    23.5    
/media/BackupPC/pc/localhost/6
7
<http://localhost/backuppc/index.cgi?action=browse&host=localhost&num=7>
incr    no      1       5/6 20:00       17.6    22.5    
/media/BackupPC/pc/localhost/7
8
<http://localhost/backuppc/index.cgi?action=browse&host=localhost&num=8>
full    yes     0       5/7 20:00       292.1   21.5    
/media/BackupPC/pc/localhost/8
9
<http://localhost/backuppc/index.cgi?action=browse&host=localhost&num=9>
incr    no      1       5/12 09:33      46.0    17.0    
/media/BackupPC/pc/localhost/9
10
<http://localhost/backuppc/index.cgi?action=browse&host=localhost&num=10>
        incr    no      1       5/13 20:00      59.3    15.5    
/media/BackupPC/pc/localhost/10

with error:

Contents of file /media/BackupPC/pc/localhost/LOG.052008, modified
2008-05-29 06:06:46

2008-05-01 14:00:01 incr backup started back to 2008-04-30 12:50:16 (backup #1) 
for directory /etc
2008-05-01 14:00:02 incr backup started back to 2008-04-30 12:50:16 (backup #1) 
for directory /srv
2008-05-01 14:00:37 incr backup 2 complete, 9260 files,  bytes,  xferErrs ( bad 
files,  bad shares, 0 other)
2008-05-02 14:00:01 incr backup started back to 2008-04-30 12:50:16 (backup #1) 
for directory /etc
2008-05-02 14:00:01 incr backup started back to 2008-04-30 12:50:16 (backup #1) 
for directory /srv
2008-05-02 14:00:18 incr backup 3 complete, 9271 files,  bytes,  xferErrs ( bad 
files,  bad shares, 0 other)
2008-05-03 14:00:02 incr backup started back to 2008-04-30 12:50:16 (backup #1) 
for directory /etc
2008-05-03 14:00:09 incr backup started back to 2008-04-30 12:50:16 (backup #1) 
for directory /srv
2008-05-03 14:00:56 incr backup 4 complete, 9277 files,  bytes,  xferErrs ( bad 
files,  bad shares, 0 other)
2008-05-04 14:00:02 incr backup started back to 2008-04-30 12:50:16 (backup #1) 
for directory /etc
2008-05-04 14:00:08 incr backup started back to 2008-04-30 12:50:16 (backup #1) 
for directory /srv
2008-05-04 14:08:43 incr backup 5 complete, 9302 files,  bytes, 7 xferErrs ( 
bad files,  bad shares, 7 other)
2008-05-05 20:00:01 incr backup started back to 2008-04-30 12:50:16 (backup #1) 
for directory /etc
2008-05-05 20:00:09 incr backup started back to 2008-04-30 12:50:16 (backup #1) 
for directory /srv
2008-05-05 20:12:10 incr backup 6 complete, 9303 files,  bytes, 5 xferErrs ( 
bad files,  bad shares, 5 other)
2008-05-06 20:00:01 incr backup started back to 2008-04-30 12:50:16 (backup #1) 
for directory /etc
2008-05-06 20:00:08 incr backup started back to 2008-04-30 12:50:16 (backup #1) 
for directory /srv
2008-05-06 20:17:38 incr backup 7 complete, 9384 files,  bytes, 4 xferErrs ( 
bad files,  bad shares, 4 other)
2008-05-07 20:00:01 full backup started for directory /etc
2008-05-07 20:00:17 full backup started for directory /srv
2008-05-08 00:52:07 full backup 8 complete, 164607 files,  bytes,  xferErrs ( 
bad files,  bad shares, 0 other)
2008-05-12 09:33:48 incr backup started back to 2008-05-07 19:00:01 (backup #8) 
for directory /etc
2008-05-12 09:33:52 incr backup started back to 2008-05-07 19:00:01 (backup #8) 
for directory /srv
2008-05-12 10:19:47 incr backup 9 complete, 8730 files,  bytes, 1 xferErrs ( 
bad files,  bad shares, 1 other)
2008-05-12 10:19:47 removing incr backup 2
2008-05-13 20:00:01 incr backup started back to 2008-05-07 19:00:01 (backup #8) 
for directory /etc
2008-05-13 20:00:09 incr backup started back to 2008-05-07 19:00:01 (backup #8) 
for directory /srv
2008-05-13 20:59:17 incr backup 10 complete, 8936 files,  bytes,  xferErrs ( 
bad files,  bad shares, 0 other)
2008-05-13 20:59:17 removing incr backup 3
2008-05-29 01:00:02 full backup started for directory /etc
2008-05-29 01:00:21 full backup started for directory /srv
2008-05-29 06:06:41 Got fatal error during xfer (Tar exited with error 512 () 
status)
2008-05-29 06:06:46 Backup aborted (Tar exited with error 512 () status)
2008-05-29 06:06:46 Saved partial dump 11


The error is because the backup disk is full.
What am I doing wrong?

TiA
Mauro

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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>