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

Re: Concurrent operation



On 02/02/12 10:30, Gleb Arshinov wrote:
> Is it possible to run 2 tarsnaps in parallel on 2 different archives?
> I am getting when I try this:
> 
>   tarsnap: Transaction already in progress
>   tarsnap: Error creating new archive
> 
> In general what kind of concurrency support/restrictions are there in tarsnap?

You can't run two {create, delete} operations at the same time using the same
cache directory.  (And trying to use the same set of keys with two different
cache directories won't work, of course.)

You can run extract or list in parallel with anything.

-- 
Colin Percival
Security Officer, FreeBSD | freebsd.org | The power to serve
Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid