Installation guide

-t ./.rhosts ./staff command will list the file
and the directory. If you do not specify
names
, the
restore command returns a complete listing of the
backed up files on the tape.
x
names
The x (extract) flag restores from the tape the files
and directories specified by the
names
argument.
The
names
argument contains a list of files and
directories to be restored from the tape. Specify
names as ./
filename
. For example, the restore
-x ./.rhosts ./staff command will restore the
.rhosts file and the ./staff directory. If
names
specifies a directory name, then all the files in the
directory are recursively restored.
f
dump_file
The f flag used with the
dump_file
argument
restores the dump from the device specified by the
dump_file
argument instead of the default device,
/dev/rmt0h.
F
command_file
The F flag used with the
command_file
argument
specifies a file from which interactive restore
commands are read. You should use this option in
conjunction with the i option.
If you are restoring a file system other than root or /usr,goto
Section 11.4.1. If you are restoring the root and /usr file systems, go to
Section 11.4.5. If the /var directory is on a separate file system than /usr,
go to Section 11.4.5.
11.4.1 Restoring a File System
There may be times when you will need to restore a file system. This
section describes a general procedure for restoring a file system. To restore
individual files, go to Section 11.4.2.
When you restore a UFS file system, you create a new file system and
restore the files from the dump files by using the following command
syntax. Refer to the AdvFS Administration guide for information on
restoring an AdvFS file system.
newfs raw_device
mount block_device
[ filesystem]
cd filesystem
Administering the Archiving Services 11–17