WSRESTORE(8n) COMMAND REFERENCE WSRESTORE(8n)
NAME
wsrestore - multi-workstation restore utility
SYNOPSIS
/etc/wsrestore [ -w workstation ] [ -f filesystem ] [ -t
restore device ] [ -m modification date ] [ -l last access
date ] [ -d dump date and time ] [ -r restore directory ] [
-o restore options ] [ -F ] [ -S ]
DESCRIPTION
Wsrestore is a multi-workstation restore that runs in
conjunction with rrestore(8n). Wsrestore executes rrestore
on a remote workstation, allowing that workstation to
restore from a dump media on the host server to the
workstation's storage device.
OPTIONS
-w workstation
This option specifies the workstation to be restored.
This option is required. If it is not entered on the
command line, then wsrestore will prompt for it.
-f filesystem
This option specifies the filesystem to be restored.
This option is required. If it is not entered on the
command line, then wsrestore will prompt for it.
-t restore device
This option specifies the restore device to be used in
restoring archived files. The path must be a complete
path specifying the device as a floppy, a cartridge
tape, a 9 track tape, or a disk file. The raw device
should be specified and no rewind should be used for 9
track or cartridge tape (e.g. /dev/nrmt8). Default
devices are used depending on the media specified ( see
-F and -S ).
-m modification date
This option specifies the modification date of the file
to be restored. This date is used to scan the
/etc/wsdumpdates file to locate the proper volume to
mount for the restore. This option must be entered
along with -l unless the -d option has been used. If
it is not entered on the command line, then wsrestore
will prompt for it.
-l last access date
This option specifies the last access date of the file
to be restored. This date is used to scan the
/etc/wsdumpdates file to locate the proper volume to
mount for the restore. This option must be entered
along with -m unless the -d option has been used. If
Printed 10/17/86 1
WSRESTORE(8n) COMMAND REFERENCE WSRESTORE(8n)
it is not entered on the command line, then wsrestore
will prompt for it.
-d dump date
This option specifies the dump date of the volume to be
restored. The dump date must be entered as date and
time exactly to match the volume required as listed in
the /etc/wsdumpdates file. If this option is used, -m
and -l are unnecessary.
-r restore directory
This option specifies the restore directory on the
workstation where files are to be restored. The
default directory is /usr/dumpopr/restore.
-o restore options
This option specifies the additional restore options to
be used. The default option is -i for interactive
restoration.
-F Specifies floppy disk backup media (9-track tape is
default).
-S Specifies streamer cartridge tape backup media (9-track
tape is default).
If no options are given, wsrestore will prompt for all
information to perform the restore. You must be logged in
as dumpopr to execute wsrestore.
EXAMPLES
/etc/wsrestore -w dolphin -f /dev/dw00a -t /dev/nrmt7
(interactive restore of filesystem "/dev/dw00a" on
"dolphin" from 9-track tape device "/dev/nrmt7".
Extracted files are placed in /usr/dumpopr/restore on
"dolphin".)
/etc/wsrestore -S -t /dev/ntc -r /tmp
(interactive restore from local tape cartridge device
"/dev/ntc". Workstation and filesystem are prompted
for by wsrestore. Extracted files are placed in /tmp
on specified workstation.)
/etc/wsrestore -w duke -d "08/22/85 03:23:34" -o iv
(verbose interactive restore of workstation "duke" for
dump done on August 22, 1985 at 3:23:34. Restore
device and filesystem are prompted for by wsrestore.)
FILES
/etc/wsdumpdates Dump date record - scanned to find
volume to mount for restore.
Printed 10/17/86 2
WSRESTORE(8n) COMMAND REFERENCE WSRESTORE(8n)
~/.netrc Network access file.
RETURN VALUE
[NO_ERRS] Command completed without error.
[USAGE] Incorrect command line syntax. Execution
terminated.
[NP_WARN] An error warranting a warning message
occurred. Execution continues.
[NP_ERR] An error occurred that was not a system
error. Execution terminated.
[P_WARN] A system error occurred. Execution continues.
See intro(2) for more information on system
errors.
[P_ERR] A system error occurred. Execution
terminated. See intro(2) for more
information on system errors.
SEE ALSO
netrc(5n), wsdumptable(5n), rdump(8n), rrestore(8n),
wsdump(8n).
Printed 10/17/86 3
%%index%%
na:72,81;
sy:153,711;
de:864,497;
op:1361,2335;3840,1599;
ex:5439,956;
fi:6395,189;6728,62;
rv:6790,792;
se:7582,243;
%%index%%000000000151