On Tue, 7 May 2002 at 11:18am, Radu Filip wrote

> (1) "dd if=$TAPE bs=32k skip=1 of=/tape_content" produce what in
> /tape_content? An ISO image that I can mount it with "mount -o loop"?

It is a file containing a backup image of a single disklist entry.  What 
type of image depends upon what backup tool you are using.  If you are 
using DUMP, then it's a dump image particular to the filesystem backed up 
(i.e. xfsdump for an XFS filesystem, dump for an ext2 filesystem on Linux, 
etc).  If you use GNUtar, then it's a tarball.

> (2) What is mentioned ufsrestore program? I tried to find what RPM (I ran
> RedHat)  package belongs to but I did not find anything.

ufsdump/restore is the DUMP on Solaris for their UFS filesystem.  You 
won't find it on Linux.

> My interest is to know ow to restore an entire directory and all it's
> subdirectories and all their files content in the shortest time possible
> after an unwanted disaster may occur.

As someone else mentioned, the easiest way is to back up the amanda DBs (I 
tar 'em up each night and copy them to our RAID), which will then allow 
you to find out which tapes you need.  Otherwise, you can read the header 
of each tape file via 'dd if=$TAPE bs=32k count=1 of=tapefile_header' at 
the beginning of each -- the header contains the filesystem info, date, 
backup level, and restore command.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

Reply via email to