Ryan Pagquil schreef:
I've been wondering what will happen if the backup server crashes
but the tapes or the data are in good working condition. Would it be
possible to recover the data using a newly installed amanda system?
Having a table of contents, and the backup is on e.g. file 12 of
the tape, and assuming gtar as backup program:
Start from e.g. some live CD, or instal the base OS enough to be able
to read a tape (eventually over the net), format new disk and:
cd /mnt/newdisk
mt -f /dev/nst0 rewind
mt -f /dev/nst0 fsf 12
dd if=/dev/nst0 bs=32k skip=1 | gtar --numeric-owner -xzpvGf -
Even the TOC can generated with a 3 line shell script.
Restoring with the amanda binaries is even more simple:
mt -f /dev/nst0 rewind
amrestore -p /dev/nst0 '^amandaserver.example./com$' '^/$' |
gtar -xpGvf -
See: http://wiki.zmanda.com/index.php/Restoring_files
--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
|