[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] Re: Can one safely run multiple instances to thesame ta
From: |
Eric B. |
Subject: |
[Duplicity-talk] Re: Can one safely run multiple instances to thesame target? |
Date: |
Sat, 15 Mar 2008 11:22:50 -0400 |
> 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.
There would definitely need to be a way to recover from an orphaned
lockfile. Additionally, if you are considering adding semaphore ability
within duplicity itself, it might be an interesting thought to consider
adding in a --verify-after-backup option to verify within the same duplicity
execution. ie: you would not want another instance of duplicity to be able
to grab the lock prior to being able to do a verify after the backup is
complete.
At least, that's the way I would see it.
Tx,
Eric
- [Duplicity-talk] Can one safely run multiple instances to the same target?, Eric B., 2008/03/13
- Re: [Duplicity-talk] Can one safely run multiple instances to the same target?, Kenneth Loafman, 2008/03/13
- Re: [Duplicity-talk] Can one safely run multiple instances to the same target?, Peter Schuller, 2008/03/14
- Re: [Duplicity-talk] Can one safely run multiple instances to the same target?, enderst, 2008/03/14
- Re: [Duplicity-talk] Can one safely run multiple instances to the same target?, Peter Schuller, 2008/03/14
- Re: [Duplicity-talk] Can one safely run multiple instances to the same target?, Kenneth Loafman, 2008/03/14
- [Duplicity-talk] Re: Can one safely run multiple instances to thesame target?,
Eric B. <=
- Re: [Duplicity-talk] Re: Can one safely run multiple instances to thesame target?, Peter Schuller, 2008/03/15
- [Duplicity-talk] Re: Re: Can one safely run multiple instances tothesame target?, Eric B., 2008/03/15
- Re: [Duplicity-talk] Re: Re: Can one safely run multiple instances tothesame target?, Peter Schuller, 2008/03/18