duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Can one safely run multiple instances to the same t


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] Can one safely run multiple instances to the same target?
Date: Fri, 14 Mar 2008 14:47:12 -0500
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

Peter Schuller wrote:
>> sometimes i have remote clients that will dump a lot of data to backup and
>> will sometimes not finish the backup until after the next daily cron job
>> starts and then i'll have another instance working the same
>> directories/target. so being able to keep that from happening would be a
>> great benefit.
> 
> Any objections to implementing a simple mkdir() based lock in
> duplicity itself? I say mkdir() because it tends to be extremely
> portable under even pretty wonky circumstances.

No objections here.  At least on UNIX and variants, mkdir is supposed to
be an atomic action, or at least it used to be.

...Ken


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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