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

Re: sequence number mismatch



On Thu, June 2, 2011 1:21 pm, Michael Stevens wrote:
>
> They're different keys.
>
> The problem seems to be triggered by use of zazen-tarsnap.key.
>
> backup.sh is really:
>
> exec /usr/local/bin/tarsnap -P  -c --exclude /usr/local/tarsnap-cache -f
> ceres-home-$(date +%F) /home /var/mail /etc /usr
>
> It's using a separate ceres-tarsnap.key.
>
>> Which cache directory is your 'tarsnap --keyfile zazen-tarsnap.key'
>> using?  Is
>> it /usr/local/tarsnap-cache?
>
> As far as I know everything is using /usr/local/tarsnap-cache.
>
> Michael
>

One cache directory is assumed to be one box, one box is assumed to be one
key.  You will need to run --fsck every time you switch keys, so that
tarsnap can sync your cache with it's state on the remote server.

If you need to use different keys on the same box for some reason, at
least try different cache directories.  I think that works.  (I think I
tried it while building a new box at one point, restoring from the old and
backing up the new.  But I can't recall exactly if I actually set that up
or if I just figured out that it should work.)

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------