BackupPC-users

[BackupPC-users] Quick check of FullKeepCnt calculation

2016-04-05 09:52:56
Subject: [BackupPC-users] Quick check of FullKeepCnt calculation
From: Marcel Meckel <mailinglist+backuppc-users AT foobar0815 DOT de>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 05 Apr 2016 15:51:16 +0200
Hi,

I just wanted to show you the relevant aging part of by backuppc 
config.pl
file to check with you if my calculations are correct.

The relevant part of my config looks like this:

$Conf{FullPeriod} = 13.97;
$Conf{IncrPeriod} = 0.97;

$Conf{FullKeepCnt} = [4, 3, 2, 2, 2, 0, 1, 1, 1];
#                     |  |  |  |  |  |  |  |  |
#                     |  |  |  |  |  |  |  |  \- 1 backup at 512 weeks 
interval (256 x FullPeriod)
#                     |  |  |  |  |  |  |  \---- 1 backup at 256 weeks 
interval (128 x FullPeriod)
#                     |  |  |  |  |  |  \------- 1 backup at 128 weeks 
interval ( 64 x FullPeriod)
#                     |  |  |  |  |  \---------- 0 backup at  64 weeks 
interval ( 32 x FullPeriod)
#                     |  |  |  |  \------------- 2 backup at  32 weeks 
interval ( 16 x FullPeriod)
#                     |  |  |  \---------------- 2 backup at  16 weeks 
interval (  8 x FullPeriod)
#                     |  |  \------------------- 2 backup at   8 weeks 
interval (  4 x FullPeriod)
#                     |  \---------------------- 3 backup at   4 weeks 
interval (  2 x FullPeriod)
#                     \------------------------- 4 backup at   2 weeks 
interval (  1 x FullPeriod)
#
# Full Backups to keep when $Conf{FullKeepCnt} = [4, 3, 2, 2, 2, 0, 1, 
1, 1]:
#
#    2 weeks old  \
#    4 weeks old   \___  4 backups at   2 weeks interval
#    6 weeks old   /
#    8 weeks old  /
#
#   12 weeks old  \
#   16 weeks old   >---  3 backups at   4 weeks interval
#   20 weeks old  /
#
#   28 weeks old  \____  2 backups at   8 weeks interval
#   36 weeks old  /
#
#   52 weeks old  \____  2 backup  at  16 weeks interval
#   68 weeks old  /
#
#  100 weeks old  \____  2 backup  at  32 weeks interval
#  132 weeks old  /
#
#                 >----  0 backup  at  64 weeks interval
#
#  260 weeks old  >----  1 backup  at 128 weeks interval
#
#  516 weeks old  >----  1 backup  at 256 weeks interval
#
# 1028 weeks old  >----  1 backup  at 512 weeks interval
#
# Oldest backup can be 1028 weeks old = 7196 days = 19.7 years

$Conf{FullKeepCntMin} = 16;
$Conf{FullAgeMax}     = 1;

$Conf{IncrKeepCnt}    = 62-4; # 2 months minus # of full backups in 2 
months
$Conf{IncrKeepCntMin} = 62-4; # 2 months minus # of full backups in 2 
months
$Conf{IncrAgeMax}     = 1;

$Conf{IncrLevels}     = [1,2,3];


Does this calculation sound ok to you?

Best regards

Marcel Meckel

------------------------------------------------------------------------------
_______________________________________________
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>