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

Re: Recovering archives after disk corruption.



On 11/22/13 20:46, Stephen Rees-Carter wrote:
> Tarsnap seems to fit my needs perfectly, backup wise, but I was wondering what
> the process is for recovering archives after disk corruption. Assuming I have a
> copy of my /root/tarsnap.key saved on another machine. How do I use this to
> recover the archives made on the corrupt machine?

# tarsnap --keyfile /path/to/dead/machine's/keyfile -x -f nameofarchive

> On a slightly different note, I assume archive names are only unique for each
> machine?

Correct.  The "backup service" code is only aware of machines and thinks that
each is completely independent.  It's only the "service accounting" side of
things which is aware of details like "these machines are all owned by user
foo" (or even that "users" exist at all).

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid