Sun Microsystems Sun Workstation 100U System Manager's Manual page 231

Table of Contents

Advertisement

RESTORE(8)
MAINTENANCE COMMANDS
RESTORE(8)
the extraction list are prepended with a '*' when they are listed by Is.
delete
I
argJ
Delete the current directory or specified argument from the list of files to be
extracted. If a directory is specified, delete that directory and all its descendents
from the extraction list (unless the h key is specified on the command line). 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.
extract
Extract from the dump tape all the files that are on the extraction list. Restore
asks 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.
verbose
Toggle the sense of the v key. When the verbose key is set, the Is command
lists the inode numbers of all entries, and restore also displays information about
each file as it is extracted.
help
List a summary of the available commands.
quit
Restore immediately exits, even if the extraction list is not empty.
FUNCTION MODIFIERS
The function modifiers which may be used in addition to the function letters are as follows. A
few of these modifiers -
namely b, I, and
8 -
take an argument from the command line. If you
use more than one of b, I, and s, nest your arguments as you do your modifiers; if you use b first
on the command line, place its argument first on the command line, and so on.
b
Specifies the blocking factor for the restore. The blocking factor is taken from the next
argument on the command line. This corresponds to the b key in dump(8).
d
Turns on debugging output.
v
This is the verbose option. It means display the name of each file it treats preceded by its
file type. Restore normally works silently.
I
Use the next argument to restore as the name of the archive instead of /dev /rmt? If the
name of the file is '-', re8tore reads from standard input. If the name of the file is
'machine:device' the restore is done from the specified machine through the internet using
rmt(8C). Thus, dump(8) and restore can be used in a pipeline to dump and restore a file
system with the command
tutorial% dump Of - /usr
I
(ed /mnt; restore"'-)
s
The next argument to restore is the number of files to skip in the case where there are mul-
tiple dump files on the dump tape. For example, a command like
tutorial% restore "'a/dev /DruG 6
would position you at the sixth file on the tape .
.,.
Do not ask whether to abort the restore in the event of tape errors. Re8tore always tries to
skip over the bad tape block(s) and continue as best it can.
m
Extract by inode numbers rather than by file name. This is useful if only a few files are
being extracted, and one wants to avoid regenerating the complete pathname to the file.
b
Extract the actual directory, rather than the files that it references. This prevents hierarch-
ical restoration of complete subtrees from the tape.
DIAGNOSTICS
76
Complaints about bad key characters.
Complaints
if
it gets a read error. If
y
has been specified, or the user responds 'y', restore will
attempt to continue the restore.
Last change: 13 March 1984
Sun Release 1.1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents