HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
v
vxrestore(1M) vxrestore(1M)
up after a restore aborts prematurely.
verbose The sense of the v modifier is toggled. When set to verbose, the ls command
lists the inode numbers of all entries. and vxrestore prints information
about each file as it is extracted.
-r Read the tape and load into the current directory. Be careful when using the -r option.
Restore only a complete dump tape onto a clear file system, or restore an incremental dump
tape after a full level zero restore. The following is a typical sequence to restore a complete
dump:
/usr/sbin/newfs -F vxfs /dev/rdsk/c0t0d0
/usr/sbin/mount -F vxfs /dev/dsk/c0t0d0 /mnt
cd /mnt
vxrestore -r
You can then execute another vxrestore to restore an incremental dump on top of this.
Note that vxrestore leaves a file, restoresymtab, in the root directory of the file sys-
tem to pass information between incremental vxrestore passes. Remove this file when the
last incremental tape is restored.
-R Resume a full restore. vxrestore restarts from a checkpoint it created during a full restore
(see
-r above). It requests a particular tape of a multi-volume set on which to restart a full
restore. This provides a means for interrupting and restarting a multi-volume vxrestore.
-s number
number is the dump file number to recover. This is useful if there is more than one dump file
on a tape.
-t Names of filenames, as specified on the command line, are listed if they occur on the tape. If no
filename is given, the root directory is listed, which results in the entire content of the tape
being listed, unless -h is specified.
-x Extract named files from the tape. If the named file matches a directory whose contents are
written onto the tape, and the -h option is not specified, the directory is recursively extracted.
The owner, modification time, and mode are restored (if possible). If no filename argument is
given, the root directory is extracted, which results in the entire contents of the tape being
extracted, unless
-h is specified.
The following options can be used in addition to the letter that selects the primary function:
-b blocksize
Specify the block size of the tape in kilobytes. If the -b option is not specified,
vxrestore
determines the tape block size dynamically. [This option exists to preserve backwards compati-
bility with previous versions of vxrestore .]
-e opt
Specify how to handle a vxfs le that has extent attribute information. Extent attributes
include reserved space, a fixed extent size, and extent alignment. It may not be possible to
preserve the information if the destination file system does not support extent attributes, has a
different block size than the source file system, or lacks free extents appropriate to satisfy the
extent attribute requirements. Valid values for opt are:
force Fail to restore the file if extent attribute information cannot be kept.
ignore Ignore extent attribute information entirely.
warn Issue a warning message if extent attribute information cannot be kept (the default).
-f file
Specify the name of the archive instead of /dev/rmt/0m . If the name of the file is -(dash),
vxrestore reads from standard input. So you can use vxdump and vxrestore in a
pipeline to vxdump and vxrestore a file system with the command
vxdump 0f - /usr | (cd /mnt; vxrestore xf -)
You can use an archive name of the form machine:device to specify a tape device on a remote
machine.
-h Extract the actual directory, rather than the files to which it refers. This prevents hierarchical
restoration of complete subtrees.
Section 1M1054 2 HP-UX Release 11i: December 2000
___
___