HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
v
vxrestore(1M) vxrestore(1M)
NAME
vxrestore, rvxrestore - restore file system incrementally, local or across network
SYNOPSIS
vxrestore [-chimrRtvxy ][-b
blocksize][-e opt][-f file][-s number][filename ... ]
rvxrestore [-chimrRtvxy ][-b
blocksize][-e opt][-f file][-s number][filename ... ]
vxrestore key [filename ...]
rvxrestore key [ filename ... ]
DESCRIPTION
vxrestore and rvxrestore read tapes previously dumped by the
vxdump or rvxdump command
(see vxdump(1M)).
vxrestore restores from tape on the local system;
rvxrestore restores from tape
on a remote system.
rvxrestore runs /usr/sbin/rmt
on the remote machine to access the tape
device.
vxrestore and rvxrestore support both getopt(3C) and traditional
restore command line invoca-
tions as shown above. The original
restore command line style is supported for compatibility with previ-
ous versions of
vxrestore and for synonymy with the existing restore program used for hfs file sys-
tems.
For the original restore command line style, actions taken are controlled by the key argument where key
is a string of characters containing exactly one function letter from the group
irRtx, and zero or more
function modifiers from the group befhmsvy. One or more filename arguments, if present, are file or
directory names specifying the files to restore. Unless the
h modifier is specified (see below), the appear-
ance of a directory name refers to the files and (recursively) subdirectories of that directory.
/dev/rmt/0m is the default tape device.
Options
vxrestore recognizes the following options:
-i Allow interactive restoration of files from a dump tape. After reading the directory information
from the tape, vxrestore provides a shell-like interface that lets you move around the direc-
tory tree selecting files to extract. The available commands are listed below. For commands
that require an argument, the default is the current directory.
add [arg] Add the current directory or specified argument to the list of files to extract. If
a directory is specified, the directory and all its descendents are added to the
extraction list (unless the h key is specified on the command line). File names
on the extraction list are displayed with a leading ∗ when listed by ls.
cd [arg] Change the current working directory to the specified argument.
delete [arg] Delete the current directory or specified argument from the list of files to
extract. If a directory is specified, the directory and all its descendents are
deleted from the extraction list (unless h is specified on the command line).
The best way to extract most files from a directory is to add the directory to the
extraction list, then delete unnecessary files.
extract Extract all files named on the extraction list from the dump tape. vxrestore
prompts for the volume to mount. The fastest way to extract a few files is to
start with the last volume, then work toward the first volume.
help List a summary of the available commands.
ls [arg] List the current or specified directory. Entries that are directories are
displayed with a trailing /. Entries marked for extraction are displayed with a
leading ∗. If the verbose key is specified, the inode number of each entry is also
listed.
pwd Print the full pathname of the current working directory.
quit vxrestore immediately exits, even if the extraction list is not empty.
ctl-D (control-D) is a synonym for quit.
set-modes Set the owner, modes, and times of all directories that are added to the extrac-
tion list. Nothing is extracted from the tape. This setting is useful for cleaning
HP-UX 11i Version 2: December 2007 Update − 1 − Hewlett-Packard Company 665