BackupPC-users

Re: [BackupPC-users] BackupPC won't delete old full backup

2017-02-27 06:17:17
Subject: Re: [BackupPC-users] BackupPC won't delete old full backup
From: Björn Daunfeldt <swedezor AT hotmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 27 Feb 2017 12:15:58 +0100
Thank you for the very quick respons!
So if I just would have let it run a bit longer i wouldn't have needed to send this email :P

Thanks.

-Björn

On 27 February 2017 at 11:59, Johan Ehnberg <johan AT molnix DOT com> wrote:
On 02/27/2017 12:50 PM, Björn Daunfeldt wrote:
> Hello!
>
> I'm trying out BackupPC to decide whether or not I'm going to use it on
> my production servers/desktops.
> Only one problem occurs for me that i can't figure out, and that is that
> the backup server running BackupPC won't delete my (old)full backup. Ie.
> there is more than one full backup(even tho my configuration
> specifically tells it to only keep only one).
>
> My backup machine:
> CentOS Linux release 7.3.1611 (Core)
> BackupPC-3.3.1-5
> I use rsync+ssh for backup to another CentOS 7 machine.
>
> The config for the hosts in separate file:
> $Conf{IncrPeriod} = 0.97;
> $Conf{IncrKeepCnt} = 4;
> $Conf{IncrKeepCntMin} = 1;
> $Conf{IncrAgeMax}     = 30;
>
> $Conf{FullPeriod} = 6.97;
> $Conf{FullKeepCnt} = 1;
> $Conf{FullKeepCntMin} = 1;
> $Conf{FullAgeMax}     = 90;
>
> Logs shows no error messages whatsoever when backup/restore is done. It
> works fine in that regard.
>
> Output looks as follows:
> Backup#    Type    Filled    Level    Start Date    Duration/mins
> Age/days    Server Backup Path
> 0    full    yes    0    2/20 10:00    12.6    7.0
> /var/lib/BackupPC//pc/centos.local/0
> 1    incr    no    1    2/21 10:11    8.8    6.0
> /var/lib/BackupPC//pc/centos.local/1
> 2    incr    no    1    2/22 10:00    10.9    5.0
> /var/lib/BackupPC//pc/centos.local/2
> 3    incr    no    1    2/23 14:00    7.3    3.9
> /var/lib/BackupPC//pc/centos.local/3
> 4    incr    no    1    2/24 14:00    9.9    2.9
> /var/lib/BackupPC//pc/centos.local/4
> 5    full    yes    0    2/27 10:00    13.6    0.0
> /var/lib/BackupPC//pc/centos.local/5
>
> So why is full backup #0 not deleted?
> Have I missed something or is there something else going on here?
>
> Regards,
> -Björn
>

Hi Björn,

The incremental backups depend on it, so BackupPC ensures that they work
by keeping the full until the incrementals also expire.

For example, if you were to decrease IncrKeepCnt and IncrKeepCntMin to
0, all but the latest backups should be deleted automatically.

Not sure why one would do that except for testing purposes, though :)

Best regards,
Johan Ehnberg

--
Johan Ehnberg
johan AT molnix DOT com
+358503209688

Molnix Oy
molnix.com

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
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/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
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>