Commit | Line | Data |
---|---|---|
a129a7a5 PC |
1 | .TH DOADUMP 8 "UKC local %G%" |
2 | .SH NAME | |
3 | doadump,dumpall \- perform cyclic file system dumps | |
4 | .SH SYNOPSIS | |
5 | .B /etc/doadump | |
6 | .I file-system | |
7 | .br | |
8 | .B /etc/dumpall | |
9 | .SH DESCRIPTION | |
10 | .I Doadump | |
11 | is used to perform cyclic dumps of the filesystem given as an argument. | |
12 | It uses the locally added tape labelling facilities of the | |
13 | .I dump | |
14 | (8) | |
15 | command and some data files on /etc/dumpdata which give the current | |
16 | dump state and a description of the cycle which is to be used. | |
17 | .PP | |
18 | The main data file is | |
19 | .B /etc/dumpdata/dumpcycle | |
20 | which contains lines of data which specify which tape set and dump level | |
21 | are to be used for a particular dump in the cycle. | |
22 | The file can contain lines starting with `#' which are comments. | |
23 | The columns on the file are tab separated and are: | |
24 | .TP "\w'Cycle number'u+3" | |
25 | Name | |
26 | the name of the device to be dumped, this is the block device name | |
27 | ( hp0a not rhp0a). | |
28 | .IP "Cycle Number" | |
29 | This is a number which defines the state number in the cycle to which this | |
30 | line refers. | |
31 | .IP "Next Cycle" | |
32 | The entry gives the next entry in the cycle. | |
33 | .IP "Dump level" | |
34 | The dump level which is to be used for the dump. | |
35 | .IP "Tapes" | |
36 | A single tape, a tape range or a list of tapes which are to be used for the | |
37 | dump in that state. | |
38 | .PP | |
39 | The program maintains a file called /etc/dumpdata/<device>.state | |
40 | which contains the | |
41 | cycle number of the last dump action on that file system. | |
42 | .PP | |
43 | The program | |
44 | .I /etc/dumpall | |
45 | uses the | |
46 | .I dump | |
47 | (8) | |
48 | program to determine which file systems require dumping and calls doadump | |
49 | appropriately. | |
50 | .SH FILES | |
51 | /etc/dumpdata/dumpcycle | |
52 | .br | |
53 | /etc/dumpdata/<device>.state | |
54 | .SH "SEE ALSO" | |
55 | dump(8), restore(8), dumplabel(8) | |
56 | .SH AUTHOR | |
57 | Peter Collinson, UKC |