BackupPC-users

Re: [BackupPC-users] Backup retention and deletion.

2011-05-13 16:49:38
Subject: Re: [BackupPC-users] Backup retention and deletion.
From: Matthias Meyer <matthias.meyer AT gmx DOT li>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 13 May 2011 22:47:27 +0200
Robin Lee Powell wrote:

> 
> So, I had FullKeepCntMin set really high, and I lowered it, and it's
> been several days, and yet I still have a ton of old fulls lying
> around.
> 
> My questions:
> 
> 1.  When and how do deletions of the excess occur?
> 
> 2.  Why aren't they occuring?  (in particular, is it possible that I
> need to completely restart the server for that to work? we *always*
> have backups running, and there's still no "stop when all current
> backups are complete" option, so I avoid that)
> 
> Here's the current config:
> 
> $Conf{FullPeriod} = '3.7';
> $Conf{IncrPeriod} = '0.9';
> $Conf{FullKeepCnt} = '25';
> $Conf{FullKeepCntMin} = '5';
> $Conf{FullAgeMax}     = '60';
> $Conf{IncrKeepCnt} = '45';
> $Conf{IncrKeepCntMin} = '10';
> $Conf{IncrAgeMax}     = '60';
> 
> And here's the list of backups with types and dates:
> 
> # awk -F'     ' '{ print $1, $2, strftime("%F", $3); }' backups
> 0 full 2011-02-16
> 4 full 2011-02-21
> 10 full 2011-02-25
> 16 full 2011-03-01
> 22 full 2011-03-05
> 28 full 2011-03-10
> 34 full 2011-03-14
> 40 full 2011-03-18
> 46 full 2011-03-22
> 51 full 2011-03-26
> 52 incr 2011-03-27
> 53 incr 2011-03-28
> 54 incr 2011-03-28
> 55 incr 2011-03-29
> 56 incr 2011-03-30
> 57 full 2011-03-31
> 58 incr 2011-03-31
> 59 incr 2011-04-01
> 60 incr 2011-04-02
> 61 incr 2011-04-03
> 62 full 2011-04-04
> 63 incr 2011-04-06
> 64 incr 2011-04-07
> 65 incr 2011-04-07
> 66 full 2011-04-08
> 67 incr 2011-04-09
> 68 incr 2011-04-09
> 69 incr 2011-04-10
> 70 incr 2011-04-11
> 71 incr 2011-04-12
> 72 full 2011-04-12
> 73 incr 2011-04-13
> 74 incr 2011-04-14
> 75 incr 2011-04-15
> 76 incr 2011-04-15
> 77 full 2011-04-16
> 78 incr 2011-04-17
> 79 incr 2011-04-17
> 80 incr 2011-04-18
> 81 incr 2011-04-19
> 82 full 2011-04-20
> 83 incr 2011-04-22
> 84 incr 2011-04-22
> 85 incr 2011-04-23
> 86 full 2011-04-24
> 87 incr 2011-04-26
> 88 incr 2011-04-27
> 89 incr 2011-04-27
> 90 incr 2011-04-28
> 91 full 2011-04-29
> 92 incr 2011-04-29
> 93 incr 2011-04-30
> 94 incr 2011-05-02
> 95 full 2011-05-03
> 96 incr 2011-05-04
> 97 incr 2011-05-04
> 98 incr 2011-05-05
> 99 incr 2011-05-06
> 100 full 2011-05-07
> 101 incr 2011-05-08
> 102 incr 2011-05-09
> 103 incr 2011-05-10
> 104 full 2011-05-11
> 105 incr 2011-05-11
> 106 incr 2011-05-12
> 107 incr 2011-05-13
> 108 full 2011-05-13
> 
> 
> Thanks for your help.
> 
> -Robin
> 
Where is your problem? You have 22 full backups already achieved. So your 
server will also keep the next 3 full and will remove the #0 since the 4. 
full backup will occur.
The count of already achieved incrementals is 45. Exactly what you want.

br
Matthias


-- 
Don't Panic


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
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/