Amanda-Users

RE: Rebuilding my backup server

2004-07-05 03:56:58
Subject: RE: Rebuilding my backup server
From: "Gavin Henry" <Gavin.Henry AT invsat DOT com>
To: "Paul Bijnens" <paul.bijnens AT xplanation DOT com>
Date: Mon, 5 Jul 2004 08:44:54 +0100
Dear all,
 
Thanks for all your help.
 
I upgraded to Fedora Core 2 and got all my e-mails backs.
 
What I did, whcih I will be submitting a patch to the RESTORE doc is:
 
Installed the amanda RPM and used amrestore i.e.:
 
amrestore /dev/nst0 hostname '/etc$'
 
which searched for that partition.
 
I got the latest level 0, then level 1 for /etc and /home
 
Then used "tar -xvpf filename" to get all the files.
 
Much, much easier than mt -f /dev/nst0 fsf 1 and using dd.
 
Thoughts?
 
Gavin.
-----Original Message-----
From: Paul Bijnens [mailto:paul.bijnens AT xplanation DOT com]
Sent: Fri 02/07/2004 09:40
To: Gavin Henry
Cc: amanda-users AT amanda DOT org
Subject: Re: Rebuilding my backup server

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


<Prev in Thread] Current Thread [Next in Thread>