Securing-Optimizing-RH-Linux-1_2_460
Comments and suggestions concerning this book should be mailed to gmourani@videotron.ca
© Copyright 1999-2000 Gerhard Mourani and Open Network Architecture ®
460
Files that are on the extraction list are prepended with a * when they are listed by the ls
command:
restore > ls
./wahib:
.Xdefaults .bash_logout .bashrc
.bash_history .bash_profile *Personal/
To delete the current directory or specified argument from the list of files to be extracted, use the
delete command (If a directory is specified, then it and all its descendents are deleted from the
extraction list) as show bellow:
NOTE: The most expedient way to extract most of the files from a directory is to add the directory
to the extraction list and then delete those files that are not needed.
restore > cd Personal/
restore > ls
./wahib/Personal:
*Ad?le_Nakad.doc
*Overview.doc
*BIMCOR/
*Resume/
*My Webs/
*SAMS/
*Contents.doc
*Templates/
*Divers.doc
*bruno universite.doc
*Linux/
*My Pictures/
restore > delete Resume/
restore > ls
./wahib/Personal:
*Ad?le_Nakad.doc
*Overview.doc
*BIMCOR/
Resume/
*My Webs/
*SAMS/
*Contents.doc
*Templates/
*Divers.doc
*bruno universite.doc
*Linux/
*My Pictures/
To extract all files on the extraction list from the dump, use the extract command (Restore will
ask which volume the user wishes to mount. The fastest way to extract a few files is to start with
the last volume and work towards the first volume) as show bellow:
restore > extract
You have not read any tapes yet.
Unless you know which volume your file(s) are on you should start
with the last volume and work towards the first.
Specify next volume #: 1
set owner/mode for '.'? [yn] y
To exits from the interactive restore mode after you have finished to extract your directories or
files, use the quit command as show bellow.
/sbin/restore > quit
NOTE: Other methods of restoration exist with the dump program; consult the man page of dump
for more information.
Further documentation
For more details, there are man pages you can read:
$ man dump (8)
- ext2 filesystem backup