xref: /original-bsd/local/ukc/dump/dumpdev.8 (revision 4e9331e4)
DUMPDEV 8L "UKC - 08/11/87" "Unix Programmer's Manual"
NAME
dumpdev,dumpall - perform cyclic file system dumps
SYNOPSIS
/etc/dumpdev file-system

/etc/dumpall

DESCRIPTION
Dumpdev is used to perform cyclic dumps for the filesystem given as an argument. It uses the tape labelling facilities of the dump (8) command and some data files on /etc/dumpdata which give the current dump state and a description of the cycle which is to be used.

The main data file is /etc/dumpdata/dumpcycle which contains lines of data which specify which tape set and dump level are to be used for a particular dump in the cycle. The file can contain lines starting with `#' which are comments. The columns on the file are tab separated and are:

"\w'Map extension'u+3" Name the name of the device to be dumped, this is the block device name; for example, hp0a not rhp0a.

"Cycle Number"
This is a number which defines the state number in the cycle to which this line refers.
"Next Cycle"
The entry gives the next entry in the cycle.
"Dump level"
The dump level which is to be used for the dump.
"Tape stem"
The l parameter to the dump program giving the constant part of the tape label.
"Map extension"
The optional m argument, giving a single tape, a tape range or a list of tapes which are to be used for the dump in that state.

The program maintains a file called /etc/dumpdata/<device>.state which contains the cycle number of the last dump action on that file system.

The program /etc/dumpall uses the dump (8) program to determine which file systems require dumping and calls dumpdev appropriately.

FILES
/etc/dumpdata/dumpcycle

/etc/dumpdata/<device>.state

"SEE ALSO"
dump(8), restore(8), dumplabel(8)
AUTHOR
Peter Collinson, UKC