From: Dobrica Pavlinusic Date: Mon, 10 Jan 2011 19:57:01 +0000 (+0000) Subject: incremental forever configuration change X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=commitdiff_plain;h=ceb1b0a987f2ed96183fd5a936a74099be36bdbf incremental forever configuration change --- diff --git a/conf-incremental-forever.diff b/conf-incremental-forever.diff new file mode 100644 index 0000000..5a266d6 --- /dev/null +++ b/conf-incremental-forever.diff @@ -0,0 +1,34 @@ +diff --git a/backuppc/etc/BackupPC/config.pl b/backuppc/etc/BackupPC/config.pl +index ced0e69..e921cbd 100644 +--- a/backuppc/etc/BackupPC/config.pl ++++ b/backuppc/etc/BackupPC/config.pl +@@ -495,8 +495,8 @@ $Conf{FullKeepCnt} = [ + # times $Conf{FullPeriod} if $Conf{FullKeepCnt} specifies enough + # full backups to exceed $Conf{FullAgeMax}. + # +-$Conf{FullKeepCntMin} = '1'; +-$Conf{FullAgeMax} = '90'; ++$Conf{FullKeepCntMin} = '999999'; ++$Conf{FullAgeMax} = '999999'; + + # + # Number of incremental backups to keep. Must be >= 1. +@@ -505,15 +505,15 @@ $Conf{FullAgeMax} = '90'; + # the oldest one is removed. If this number is decreased, the + # extra old backups will be removed. + # +-$Conf{IncrKeepCnt} = '6'; ++$Conf{IncrKeepCnt} = '999999'; + + # + # Very old incremental backups are removed after $Conf{IncrAgeMax} days. + # However, we keep at least $Conf{IncrKeepCntMin} incremental backups no + # matter how old they are. + # +-$Conf{IncrKeepCntMin} = '1'; +-$Conf{IncrAgeMax} = '30'; ++$Conf{IncrKeepCntMin} = '999999'; ++$Conf{IncrAgeMax} = '999999'; + + # + # Level of each incremental. "Level" follows the terminology