BSD 3 development
[unix-history] / usr / man / man1 / dump.1m
CommitLineData
e6817382
BJ
1.TH DUMP 1M
2.SH NAME
3dump \- incremental file system dump
4.SH SYNOPSIS
5.B dump
6[ key [ argument ... ] filesystem ]
7.SH DESCRIPTION
8.I Dump
9copies to magnetic tape all files
10changed after a certain date
11in the
12.I filesystem.
13The
14.I key
15specifies the date and other options about the dump.
16.I Key
17consists of characters from
18the set
19.B 0123456789fusd.
20.TP 5
21.B f
22Place the dump on the next
23.I argument
24file
25instead of the tape.
26.TP 5
27.B u
28If the dump completes successfully,
29write the date of the beginning of the dump on
30file `/etc/ddate'.
31This file records a separate date for
32each filesystem and each dump level.
33.TP 5
34.B 0\-9
35This number is the `dump level'.
36All files modified since the last date stored
37in the file `/etc/ddate' for
38the same filesystem at lesser levels
39will be dumped.
40If no date is determined by the level,
41the beginning of time is assumed;
42thus the option
43.B 0
44causes the entire filesystem to be dumped.
45.TP 5
46.B s
47The size of the dump tape is specified in feet.
48The number of feet is taken from the next
49.I argument.
50When the specified size is reached,
51the dump will wait for reels to be changed.
52The default size is 2300 feet.
53.TP 5
54.B d
55The density of the tape, expressed in BPI,
56is taken from the next
57.I argument.
58This is used in calculating the amount of tape
59used per write. The default is 1600.
60.PP
61.DT
62If no arguments are given,
63the
64.I key
65is assumed to be
66.B 9u
67and a default file system is dumped
68to the default tape.
69.PP
70Now a short suggestion on how
71perform dumps.
72Start with a full level 0 dump
73.PP
74 dump 0u
75.PP
76Next,
77periodic level 9 dumps should be made on an
78exponential progression of tapes.
79(Sometimes called Tower of Hanoi \- 1 2 1 3 1 2 1 4 ...
80tape 1 used every other time,
81tape 2 used every fourth,
82tape 3 used every eighth, etc.)
83.PP
84 dump 9u
85.PP
86When the level 9 incremental approaches a full
87tape (about 78000 blocks at 1600 BPI blocked 20),
88a level 1 dump should be made.
89.PP
90 dump 1u
91.PP
92After this,
93the exponential series should progress as uninterrupted.
94These level 9 dumps are based on the level 1 dump which
95is based on the level 0 full dump.
96This progression of levels of dump can be carried
97as far as desired.
98.SH FILES
99default filesystem and tape vary with installation.
100.br
101/etc/ddate record dump dates of filesystem/level.
102.SH "SEE ALSO"
103restor(1), dump(5), dumpdir(1)
104.SH DIAGNOSTICS
105If the dump requires more than one tape,
106it will ask you to change tapes.
107Reply with a new-line when this has been done.
108.SH BUGS
109Sizes are based on 1600 BPI blocked tape.
110The raw magtape device has to be used to
111approach these densities.
112Read errors on the filesystem are ignored.
113Write errors on the magtape are usually fatal.