HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
d
dump(1M) dump(1M)
NAME
dump, rdump - incremental file system dump, local or across network
SYNOPSIS
/usr/sbin/dump
[option [ argument ...] filesystem]
/usr/sbin/rdump
[option [ argument ...] filesystem]
DESCRIPTION
The
dump and rdump commands copy to magnetic tape all files in the filesystem that have been changed
after a certain date. This information is derived from the files
/var/adm/dumpdates
and
/etc/fstab . option specifies the date and other options about the dump. option consists of characters
from the set
0123456789bdfnsuWw
. The dump
and rdump commands work only on file systems of
type
hfs. If the given file system is not of type
hfs, dump and rdump will abort after printing an error
message.
Options
0-9 This number is the "dump level". All files modified since the last date stored in file
/var/adm/dumpdates
for the same file system at lesser levels will be dumped. If no
date is determined by the level, the beginning of time is assumed. Thus, the option
0
causes the entire file system to be dumped.
b The blocking factor is taken from the next argument (default is 10 if not specified). Block
size is defined as the logical record size times the blocking factor.
dump writes logical
records of 1024 bytes. When dumping to tapes with densities of 6250 BPI or greater
without using the
b option, the default blocking factor is 32.
d The density of the tape (expressed in BPIs) is taken from the next argument. This is used
in calculating the amount of tape used per reel. The default value of 1600 assumes a reel
tape.
f Place the dump on the next argument file instead of the tape. If the name of the file is
-,
dump writes to the standard output. When using rdump, this option should be specified,
and the next argument supplied should be of the form machine:device.
n Whenever dump and rdump require operator attention, notify all users in group opera-
tor
by means similar to that described by wall(1).
s The size of the dump tape is specified in feet. The number of feet is taken from the next
argument. When the specified size is reached, dump and rdump wait for reels to be
changed. The default tape size value of 2300 feet assumes a reel tape.
u If the dump completes successfully, write on file
/var/adm/dumpdates the date when
the dump started. This file records a separate date for each file system and each dump
level. The format of
/var/adm/dumpdates
is user-readable and consists of one free-
format record per line: file system name, increment level, and dump date in ctime(3C) for-
mat. The file
/var/adm/dumpdates
can be edited to change any of the fields if neces-
sary.
W For each file system in /var/adm/dumpdates, print the most recent dump date and
level, indicating which file systems should be dumped. If the W option is set, all other
options are ignored and dump exits immediately.
w Operates like W, but prints only file systems that need to be dumped.
If no arguments are given, option is assumed to be 9u and a default file system is dumped to the default
tape.
Sizes are based on 1600-BPI blocked tape; the raw magnetic tape device must be used to approach these
densities. Up to 32 read errors on the file system are ignored. Each reel requires a new process; thus
parent processes for reels already written remain until the entire tape is written.
The rdump command creates a server, /usr/sbin/rmt or /etc/rmt, on the remote machine to
access the tape device.
Section 1M−−194 Hewlett-Packard Company − 1 − HP-UX 11i Version 1: September 2005