Amanda-Users

Re: Rebuilding my backup server

2004-07-02 04:57:13
Subject: Re: Rebuilding my backup server
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Gavin Henry <Gavin.Henry AT invsat DOT com>
Date: Fri, 02 Jul 2004 10:40:47 +0200
Gavin Henry wrote:

Disaster strikes!!!

My Red Hat 8.0 backup server hard drive has died, and I need some advice in 
rebuilding it.

I have all the backups tapes and I have backup up /etc /home /var and a few 
other things.

My question is, "How do I get all the configuration files back from the tapes without having Amanda installed?

Any tips would be great!!!

Tip one:  stay calm.
Tip two:  Read  docs/RESTORE.

In short: As root do:
use basic unix commands to position tape like:
  mt -f /dev/nst0 fsf 1
use basic dd to read the 32k header of each file on tape:
  dd if=/dev/rmt/0n bs=32k count=1
And notice it contains the command you need to type to restore
that backup image:
  (position again using mt above, and cd to the correct top
   directory!)
  dd if=/dev/nst0 bs=32k skip=1 | gzip -d | gtar -xpvf -



--
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          *
***********************************************************************