BackupPC-users

Re: [BackupPC-users] Prevent concurrent backups to a host

2009-08-20 08:52:39
Subject: Re: [BackupPC-users] Prevent concurrent backups to a host
From: John Rouillard <rouilj-backuppc AT renesys DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 20 Aug 2009 12:47:37 +0000
On Thu, Aug 20, 2009 at 09:53:39AM +0800, Daniel Harvey wrote:
> On Thu, 2009-08-13 at 14:04 +0800, Daniel Harvey wrote:
> > I've split backups to a particular laptop host into parts as the whole
> > lot together takes too long to run, and so never completes as the laptop
> > is regularly disconnected.
> > 
> > This seems to work ok, except they often are run concurrently by
> > BackupPC. Is there an easy way to prevent these parts running
> > concurrently?

Not within backupc itself.

See: 

  http://www.mail-archive.com/backuppc-users AT lists.sourceforge DOT 
net/msg13698.html

for a method that could be used to set a semaphore file based on the
realname of the host. I am using that method in production currently.

   http://www.adsm.org/lists/html/BackupPC-users/2009-06/msg00242.html

discusses your use case, but rather than a semaphore you could use
just a lock file.

-- 
                                -- rouilj

John Rouillard       System Administrator
Renesys Corporation  603-244-9084 (cell)  603-643-9300 x 111

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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>