[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sequence number mismatch
On Fri, Jun 03, 2011 at 02:49:26PM +0100, Hywel Mallett wrote:
> > On Fri, Jun 03, 2011 at 09:40:21AM +0100, Michael Stevens wrote:
> > > What's meant to happen in the "oh dear, my PC blew up, need to
> > > restore" case?
> > >
> > > It seems like it'd be natural to try to use the key on a machine
> > > with an existing tarsnap install to retrieve the files, only
> > > that's actually going to corrupt your cache.
> >
> > When specifying which key file to use you'd also specify a separate
> > cache directory. You'd then need to do a fsck to populate it with
> > the relevant data before you could do a restore. So although there's
> > an extra step (the fsck), all you need is the key to do a restore on
> > another machine.
>
> You're right that all you need is the key on the other machine, but
> you don't need to do a fsck before you restore. I know, I've done it,
> and it worked just fine. I suspect that you only need to do a fsck
> before you run a backup.
That's a good point. It makes sense that it'd only need the cache when
working out which new blocks needed creating.
Tim.
--
Tim Bishop
http://www.bishnet.net/tim/
PGP Key: 0x5AE7D984