Re: Dump command on Debian

2004-07-13 Thread Paul Bijnens
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, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* 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  *
***



Re: Dump command on Debian

2004-07-13 Thread R.M. Evers
well, when using a non-standard filesystem like jfs on linux, i don't
think you have much choice but to use gtar, which doesn't depend on the
filesystem used.

but anyone, feel free to correct me if i'm wrong about this..

-rodi.


On Mon, 2004-07-12 at 22:28, 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.
> 
> -john
> 
> R.M. Evers wrote:
> 
> > john,
> > 
> > you say gtar and dump work on the sun boxes, but only state that dump
> > fails on the debian boxes (which is probably correct, since it only
> > dumps ext2 filesystems). did you try gtar? it should work.. :-)
> > 
> > regards,
> > -rodi.
> > 
> > 
> > On Sat, 2004-07-10 at 17:07, John Bossert wrote:
> > 
> >>Adding a pair of Debian(woody) clients to a Solaris shop...  Amanda is 
> >>working just fine with both gtar and dump on the Sun boxes.
> >>
> >>Trying to dump filesystems, failed.  Discovered that there's no "dump" 
> >>on the debian boxes...
> >>
> >>All the filesystems are jfs, yet the "dump" package I find at debian.org 
> >>(0.4b27-4) appears oriented towards ext2.
> >>
> >>What package do I want to install on these clients to play nice with 
> >>Amanda?  Thx.



Re: Dump command on Debian

2004-07-12 Thread John Bossert
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.
-john
R.M. Evers wrote:
john,
you say gtar and dump work on the sun boxes, but only state that dump
fails on the debian boxes (which is probably correct, since it only
dumps ext2 filesystems). did you try gtar? it should work.. :-)
regards,
-rodi.
On Sat, 2004-07-10 at 17:07, John Bossert wrote:
Adding a pair of Debian(woody) clients to a Solaris shop...  Amanda is 
working just fine with both gtar and dump on the Sun boxes.

Trying to dump filesystems, failed.  Discovered that there's no "dump" 
on the debian boxes...

All the filesystems are jfs, yet the "dump" package I find at debian.org 
(0.4b27-4) appears oriented towards ext2.

What package do I want to install on these clients to play nice with 
Amanda?  Thx.



--
La thiorie, c'est quand on sait tout et que rien ne fonctionne.
La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi.
Ici, nous avons riuni thiorie et pratique : Rien ne fonctionne... et 
personne ne sait pourquoi!
[Einstein]


Re: Dump command on Debian

2004-07-12 Thread R.M. Evers
john,

you say gtar and dump work on the sun boxes, but only state that dump
fails on the debian boxes (which is probably correct, since it only
dumps ext2 filesystems). did you try gtar? it should work.. :-)

regards,
-rodi.


On Sat, 2004-07-10 at 17:07, John Bossert wrote:
> Adding a pair of Debian(woody) clients to a Solaris shop...  Amanda is 
> working just fine with both gtar and dump on the Sun boxes.
> 
> Trying to dump filesystems, failed.  Discovered that there's no "dump" 
> on the debian boxes...
> 
> All the filesystems are jfs, yet the "dump" package I find at debian.org 
> (0.4b27-4) appears oriented towards ext2.
> 
> What package do I want to install on these clients to play nice with 
> Amanda?  Thx.



Dump command on Debian

2004-07-10 Thread John Bossert
Adding a pair of Debian(woody) clients to a Solaris shop...  Amanda is 
working just fine with both gtar and dump on the Sun boxes.

Trying to dump filesystems, failed.  Discovered that there's no "dump" 
on the debian boxes...

All the filesystems are jfs, yet the "dump" package I find at debian.org 
(0.4b27-4) appears oriented towards ext2.

What package do I want to install on these clients to play nice with 
Amanda?  Thx.

--
John BOSSERT
La thiorie, c'est quand on sait tout et que rien ne fonctionne.
La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi.
Ici, nous avons riuni thiorie et pratique : Rien ne fonctionne... et 
personne ne sait pourquoi!
[Einstein]