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

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

Re: [rdiff-backup-users] Cron and Rdiff-backup


From: Robert Nichols
Subject: Re: [rdiff-backup-users] Cron and Rdiff-backup
Date: Thu, 26 May 2011 11:34:28 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10

On 05/25/2011 06:32 PM, Dan Nugent wrote:
I am trying to use rdiff-backup from cron on an Ubuntu 10.04 server.  I have
a script with this


rdiff-backup /home/dan/data /media/sdb1/data
rdiff-backup /home/dan/data2 /media/sda1/data


crontab looks like this:

* 21 * * * sh /home/dan/backupscript.sh

Here is the error I get from cron

Fatal Error:  It appears that a previous rdiff-backup session with process
id 10778 is still running....

That crontab entry means "Run this command _every_minute_ during hour 21".
If you want the backup to run at the start of that hour, you want

    0 21 * * * sh /home/dan/backupscript.sh

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.




reply via email to

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