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

Re: limited keys (-r, -w), remote pruning



Chris Webb wrote:
> Colin Percival <cperciva@tarsnap.com> writes:
>> I think I'll make --fsck do a read-only fsck (reconstruct the cache directory
>> and error out if there's anything broken on the server) and add a new command
>> (--fsck-y, perhaps?) which needs the delete key and can clean things up on the
>> Tarsnap server.
> 
> Is it easy to implement a 'preen' command which refreshes the cache
> directory if necessary, i.e. if data has been written to the tarsnap server
> since this machine last accessed it?

Yes, that should be quite easy; however...

> This would be very useful for
> efficiently scripting situations where multiple machines access the same
> data.

... you really shouldn't be doing this.  Reconstructing the Tarsnap cache
directory can take a non-trivial amount of bandwidth if you have lots of
archives stored, so you'll generally be much better off with each system
storing data independently.

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