[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Safe to remove old increments while a backup ru

From: Thomas Harold
Subject: Re: [rdiff-backup-users] Safe to remove old increments while a backup runs?
Date: Wed, 26 Mar 2014 05:41:10 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 3/26/2014 4:59 AM, Sam's Lists wrote:
> I was removing some old increments on my backup server using:
> rdiff-backup --remove-older-than 3M --force root
> While this was running a cronjob on a remote computer started backing up
> to my backup server (the same directory).
> This is perfectly safe right?

Well, hopefully the remote computer would abort saying that the
destination rdiff-backup directory is in use... it's generally not safe
to have two rdiff-backup commands hitting the folder at the same time.
And I'm pretty sure that rdiff-backup checks for that.

In our backup scripts, we always do everything from the client end in
the backup script.  So the origin is in control of everything.  The
sequence of commands that the origin PC runs are:

- Run the rdiff-backup
- Run a verify on the last N increments
- Age out older increments

We also take a bit of care when rsync'ing the backups to the offsite
location.  We check whether there has been any activity in the
rdiff-backup directory in the last N minutes (usually 10) before we
snapshot the filesystem and send the rdiff-backup offsite.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]