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

2011-05-14 Thread Tyler J. Wagner
On Fri, 2011-05-13 at 19:14 -0700, Robin Lee Powell wrote:
> Ugh, missed that.  I thought that past FullAgeMax, only
> FullKeepCntMin mattered.  In fact, I thought that was the *point* of
> FullKeepCntMin.

Myself as well. Although the math will be the same in my case (since I
rarely run backups manually), it's a bit weird.

Regards,
Tyler

-- 
"The fundamental problem for the West is not Islamic fundamentalism. It
is Islam, a different civilisation whose people are convinced of the
superiority of their culture and are obsessed with the inferiority of
their power."
   -- Lord Carey of Clifton, former Archbishop of Canterbury


--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


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

2011-05-13 Thread Robin Lee Powell
On Sat, May 14, 2011 at 04:09:51AM +0200, Holger Parplies wrote:
> config.pl commented on 2010-07-31 19:52 [BackupPC 3.2.0]:
> # Note that $Conf{FullAgeMax} will be increased to $Conf{FullKeepCnt}
> # times $Conf{FullPeriod} if $Conf{FullKeepCnt} specifies enough
> # full backups to exceed $Conf{FullAgeMax}.

Ugh, missed that.  I thought that past FullAgeMax, only
FullKeepCntMin mattered.  In fact, I thought that was the *point* of
FullKeepCntMin.

-Robin

-- 
http://singinst.org/ :  Our last, best hope for a fantastic future.
Lojban (http://www.lojban.org/): The language in which "this parrot
is dead" is "ti poi spitaki cu morsi", but "this sentence is false"
is "na nei".   My personal page: http://www.digitalkingdom.org/rlp/

--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


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

2011-05-13 Thread Holger Parplies
Hi,

Robin Lee Powell wrote on 2011-05-13 14:36:14 -0700 [Re: [BackupPC-users] 
Backup retention and deletion.]:
> On Fri, May 13, 2011 at 10:47:27PM +0200, Matthias Meyer wrote:
> > Robin Lee Powell wrote:
> > > [...]
> > > My questions:
> > > 
> > > 1.  When and how do deletions of the excess occur?

read the comments in config.pl or the source of BackupPC_dump if you want the
details.

> [snip]
> > > $Conf{FullKeepCnt} = '25';
> > > $Conf{FullKeepCntMin} = '5';
> > > $Conf{FullAgeMax} = '60';
> [snip]
> >
> I want it to delete all the fulls older than 60 days.
> FullKeepCntMin is only 5, so if I have more than 5 fulls (which I
> do), then everything older than FullAgeMax should be deleted, no?

No.

config.pl commented on 2010-07-31 19:52 [BackupPC 3.2.0]:
# Note that $Conf{FullAgeMax} will be increased to $Conf{FullKeepCnt}
# times $Conf{FullPeriod} if $Conf{FullKeepCnt} specifies enough
# full backups to exceed $Conf{FullAgeMax}.

Why don't you simply set FullKeepCnt to the number of backups you want to keep
(which appears to be about 16)?

Hope that helps.

Regards,
Holger

--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


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

2011-05-13 Thread Robin Lee Powell
On Fri, May 13, 2011 at 10:47:27PM +0200, Matthias Meyer wrote:
> 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:
> > 
[snip]
> > $Conf{FullKeepCnt} = '25';
> > $Conf{FullKeepCntMin} = '5';
> > $Conf{FullAgeMax} = '60';
[snip]
>
> 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.

I want it to delete all the fulls older than 60 days.
FullKeepCntMin is only 5, so if I have more than 5 fulls (which I
do), then everything older than FullAgeMax should be deleted, no?

-Robin

-- 
http://singinst.org/ :  Our last, best hope for a fantastic future.
Lojban (http://www.lojban.org/): The language in which "this parrot
is dead" is "ti poi spitaki cu morsi", but "this sentence is false"
is "na nei".   My personal page: http://www.digitalkingdom.org/rlp/

--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


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

2011-05-13 Thread Matthias Meyer
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/