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

2009-08-20 Thread John Rouillard
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@lists.sourceforge.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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


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

2009-08-19 Thread Daniel Harvey
Using aliases to ensure different BackupPC "hosts" actually alias to the
same network host.

/etc/backuppc/elvandar_crypto.pl:
$Conf{ClientNameAlias} = 'elvandar';

/etc/backuppc/elvandar_root.pl
$Conf{ClientNameAlias} = 'elvandar';

On Wed, 2009-08-19 at 21:59 -0500, Jim Leonard wrote:
> 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.
> 
> How did you configure this?  I am looking to set up the same behavior.


--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


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

2009-08-19 Thread Jim Leonard
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.

How did you configure this?  I am looking to set up the same behavior.
-- 
Jim Leonard (trix...@oldskool.org)http://www.oldskool.org/
Help our electronic games project:   http://www.mobygames.com/
Or check out some trippy MindCandy at http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.wordpress.com/

--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


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

2009-08-19 Thread Daniel Harvey
Any suggestions?

On Thu, 2009-08-13 at 14:04 +0800, Daniel Harvey wrote:
> Hi,
> 
> 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?
> 
> Thanks,
> Daniel.


--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Prevent concurrent backups to a host

2009-08-12 Thread Daniel Harvey
Hi,

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?

Thanks,
Daniel.
-- 
Daniel Harvey 


--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/