SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Backup already in Progress
Author Message
Post Backup already in Progress 
I'm seeing a very odd intermitent problem with backing up one particular machine
from cron.. the message I get in the BackupPC log is:

2004-07-27 02:00:01 User backuppc requested backup of theserver, but one is
currently running

My cron job is scheduled as follows:

0 2 * * 0-5 /usr/local/backuppc/scripts/backupServer theserver 0 > /dev/null
2>&1
0 2 * * 6 /usr/local/backuppc/scripts/backupServer theserver 1 > /dev/null 2>&1

My backupServer script is nothing but this single line:

backuppc < at > backuppc:~/scripts$ cat backupServer
#!/bin/bash

/usr/local/backuppc/bin/BackupPC_serverMesg backup $1 $1 backuppc $2

$Conf{FullPeriod} = -1;

And of course, in TOPDIR/data/pc/theserver/config.pl, I have:


I have found that if I rm TOPDIR/data/pc/theserver/LOCK, the next time the cron
job is executed, the backup runs fine.


Any ideas on what I should look at to solve this?

--
Tony Nelson
Director of IT Operations
Starpoint Solutions LLC
115 Broadway, 2nd Fl
New York, NY 10006





This email message from Starpoint Solutions LLC is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Opinions, conclusions and other information in this message that do not relate to the official business of Starpoint Solutions shall be understood as neither given nor endorsed by it.

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB