[2562] in linux-scsi channel archive
Re: Dump for Linux
daemon@ATHENA.MIT.EDU (Tall cool one)
Tue Sep 30 13:00:17 1997
Date: Tue, 30 Sep 1997 11:49:46 -0500
From: Tall cool one <ice@mama.indstate.edu>
To: david@dlomas.com, linux-tape@vger.rutgers.edu
Cc: linux-scsi@vger.rutgers.edu
David Lomas <david@dlomas.com> writes:
> Some time ago I attempted to build "dump" as in Sun OS "sump" or Solaris
> "ufsdump" for kernel 2.0.0.
>
> Since the "dump" archives that I've foung haven't been up-dated since
> (generally) 1995, I though that I'd ask specifically whether or not
> anyone's using dump.
I've used BSD dump ported to Linux to restore a dump tape off a Sequent
system done in '95, restored perfectly. Dump hasn't changed it's format in
a million years. I find that dump is a lot nicer when it comes time to
restore, since I usually only need to restore one or two files at a time.
> How did you build it with specific reference to the newer e2fs progs
> libraries with 2.0.?
First get the latest, dump-0.4.tar.gz off of sunsite and also get the
latest e2fsprogs (1.06 I beleive). Follow the instructions on how to build
the e2fsprogs with shared libraries:
> tar xzf e2fsprogs-1.06.tar.gz
> cd e2fsprogs-1.06
> mkdir build
> cd build
> ../configure --enable-elf-shlibs
> make
...
> make check
...
> make install
> make install-libs
Then make dump:
> tar xzf dump-0.4.tar.gz
> cd dump-0.4
> make
> make install
You should then probably do:
> chmod a-s /sbin/dump /sbin/restore
Start dumping your filesystems:
> dump 0uBf 2097152 /dev/nst0 /
> dump 0uBf 2097152 /dev/nst0 /usr
> dump 0uBf 2097152 /dev/nst0 /var
^- # of 1K records on your tape for example (2GB DAT).
Only used for tape length calculations.
Have fun...
- Steve
.------------------------------------------------. # * # # # # # #
| Steve Baker | Barely Working | # ## # # # # #
| ice@mama.indstate.edu | System Administrator | # # # # # # # #
| Red-Hat Rulz! | Will work for hardware | # # # ## # # # #
`-- SYS-ADMIN FOR HIRE, HAVE UNIX, WILL TRAVEL --' #### # # # ## # #