HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)

v
vxdump(1M) vxdump(1M)
NAME
vxdump, rvxdump - incremental VxFS file system dump, local or across network
SYNOPSIS
vxdump [-cnouwW][-0123456789
][-b blocksize][-B records][-d density ][
-f filename][-s
size][-T time] filesystem
rvxdump [-cnouwW][-0123456789
][-b blocksize][-B records][-d density][
-f filename][-s
size][-T time] filesystem
vxdump option [argument ...] filesystem
rvxdump option [argument ...] filesystem
DESCRIPTION
vxdump copies to magnetic tape all files in the
vxfs filesystem that have been changed after a certain
date. This information is derived from the files
/etc/fstab and a timestamp file, by default
/etc/dumpdates
. rvxdump copies the files to a tape drive on a remote system.
rvxdump runs a pro-
cess,
/usr/sbin/rmt
, on the remote machine to access the tape device.
vxdump and rvxdump support both getopt (3C) and traditional
dump command line invocations as
shown above. The original
dump command line style is supported for compatibility with previous ver-
sions of vxdump and for synonymy with the existing dump program used for hfs file systems. For the
traditional command line style, option consists of characters from the set 0123456789bBdfonsTuWw
without any intervening white space.
On most devices
vxdump detects end-of-media and prompts you to change the media if there is
insufficient space, so it is not necessary to specify the size of the device. However, if the dump will
require multiple tapes and the tapes are to be read using an older version of vxrestore, or if the tape
device handles end-of-media in a way that
vxdump doesnt recognize, then you must specify the size of
the device using the -B option or a combination of the -d and -s
options.
Options
If no arguments are given, the options are assumed to be
-9u and a default file system is dumped to the
default tape.
vxdump recognizes the following options:
-number number is a single digit in the range [0-9] and indicates the dump level. All files modified
since the last date stored in the timestamp file for the same file system at a lesser dump
level will be dumped. Thus, the option -0 dumps the entire file system. If no date is
determined by the level, the beginning of (UNIX) time is assumed.
-B records
The number of logical records per volume. The vxdump logical record size is 1024 bytes.
records can also be specified with a suffix to indicate a unit of measure other than 1024
bytes. You can append a k or K, m or M,org or G, to the number to indicate that the
value is in kilobytes, megabytes, or gigabytes, respectively. This option overrides the cal-
culation of tape size based on length and density.
-b blocksize
The blocking factor is taken from the blocksize option argument. (default is 63 if -b is
not specified). Block size is defined as the logical record size times the blocking factor.
vxdump writes logical records of 1024 bytes. Older versions of vxdump used a blocking
factor of 10 for tapes with densities less than 6250 BPI, and 32 for tapes with densities of
6250 BPI or greater. vxrestore dynamically determines the blocking factor.
-c Cartridge. Specifies using a cartridge instead of the standard half-inch reel. This sets
the density to 1000 BPI and the blocking factor to 63. The length is set to 425 feet. -c is
incompatible with the -d option, unless you specify a density of 1000 BPI with that
option.
-d density
The density of the tape (expressed in BPI) used to calculate the amount of tape used per
tape reel. If -s is specified, a default density value of 1600 is assumed for a reel tape.
-f filename
Place the dump on the file filename instead of the tape. If the name of the file is -(dash),
vxdump writes to the standard output. This option can be of the form machine:device to
Section 1M888 Hewlett-Packard Company 1 HP-UX 11i Version 2: August 2003