Amanda-Users

Re: Dump command on Debian

2004-07-13 05:06:15
Subject: Re: Dump command on Debian
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: John Bossert <jbossert AT affidian DOT com>
Date: Tue, 13 Jul 2004 09:56:37 +0200
John Bossert wrote:

Gtar works fine (and I use it for my Dailies.)

Here, I'm trying to establish a "bare metal" restore process. With Solaris, if _really bad things_ happen, I can take my ufs dumps and rebuild a machine fairly directly.

Is the "best practice" in the Debian world to just use gtar for this?

How do others manage this?  Thx.

Gnutar backups worked fine for me.

My last "bare metal" recovery dated four years back now.  I then
use a bootable slackware Linux CD, and partioned and formatted the
new disk, and, because the CD did not contains amanda utilities,
I used netcat to connect the pipes over the network:

  on client:
        cd /mnt         # my new formatted root filesystem
        nc -l -p 1234  |  gtar -zxvf -
  on server:
        # locating the correct tape and file number with amadmin
        mt -t /dev/nst0 fsf 42
        amrestore /dev/nst0 -cp host /  |  nc -w 1 client 1234
  And when finished, run lilo on the client to make the new
  disk bootable too:
        # chroot /mnt lilo

(or something like that -- it dates four years now.)
Diagnosing that the harddisk had indeed unreparably failed,
took about as long as restoring.  I was up again in two hours,
not lost a single byte.
(Just that same monday, a Windows machine had a broken disk too,
and my colegue worked two days to get that one up again, and even
weeks later, we still had to adjust settings here and there, that
were not in the backup, due to inability to backup up open files and
software settings.  -- OK, ok, I'm not a Windows expert, nor do we
use expensive backup programs that claim to be able what I did
using Amanda.)


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