rdiff-backup-users
[Top][All Lists]
Advanced

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

Re: [rdiff-backup-users] cron script for rdiff-backup


From: Randall Nortman
Subject: Re: [rdiff-backup-users] cron script for rdiff-backup
Date: Mon, 23 Jan 2006 14:07:24 -0500
User-agent: Mutt/1.5.9i

On Mon, Jan 23, 2006 at 10:05:46AM -0500, james bardin wrote:
>  I found the cause of a recent problem on my system where some diffs
> were corrept and couldn't be removed.
> 
> It turns out that something happened to cron and and anacron, causing
> them both to run the backup sumiltaniously. This in turn killed my all
> my prior increments.
> 
> I whipped up a python script to be called from cron. It creates a PID
> file, and reads the backup session arguments from a config file. It
> also sends entries to syslog, and all stdout to a file in /var/log/.
> 
> Is this something anyone would want to include in the distribution, or
> leave it to the end user?

I think this sort of thing is not specific enough to rdiff-backup to
warrant inclusion, but on the other hand it would be nice if
rdiff-backup built in a "repository locking" feature to keep two
copies from modifying the repository at once.  That would be generally
useful and more robust.  (Just checking from cron means that a
manually run rdiff-backup can still step on the toes of the cron job,
or vice versa.)

Randall




reply via email to

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