xref: /openbsd-src/sbin/dump/dump.8 (revision a398fd9a90b1173859a5e884b2eebcaa8a3d741d)
1*a398fd9aSjmc.\"	$OpenBSD: dump.8,v 1.56 2022/10/13 21:37:05 jmc Exp $
22904a520Smillert.\"	$NetBSD: dump.8,v 1.17 1997/06/05 11:15:06 lukem Exp $
3df930be7Sderaadt.\"
4df930be7Sderaadt.\" Copyright (c) 1980, 1991, 1993
5df930be7Sderaadt.\"	 Regents of the University of California.
6df930be7Sderaadt.\" All rights reserved.
7df930be7Sderaadt.\"
8df930be7Sderaadt.\" Redistribution and use in source and binary forms, with or without
9df930be7Sderaadt.\" modification, are permitted provided that the following conditions
10df930be7Sderaadt.\" are met:
11df930be7Sderaadt.\" 1. Redistributions of source code must retain the above copyright
12df930be7Sderaadt.\"    notice, this list of conditions and the following disclaimer.
13df930be7Sderaadt.\" 2. Redistributions in binary form must reproduce the above copyright
14df930be7Sderaadt.\"    notice, this list of conditions and the following disclaimer in the
15df930be7Sderaadt.\"    documentation and/or other materials provided with the distribution.
160404cd96Sderaadt.\" 3. Neither the name of the University nor the names of its contributors
17df930be7Sderaadt.\"    may be used to endorse or promote products derived from this software
18df930be7Sderaadt.\"    without specific prior written permission.
19df930be7Sderaadt.\"
20df930be7Sderaadt.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21df930be7Sderaadt.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22df930be7Sderaadt.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23df930be7Sderaadt.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24df930be7Sderaadt.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25df930be7Sderaadt.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26df930be7Sderaadt.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27df930be7Sderaadt.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28df930be7Sderaadt.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29df930be7Sderaadt.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30df930be7Sderaadt.\" SUCH DAMAGE.
31df930be7Sderaadt.\"
32df930be7Sderaadt.\"     @(#)dump.8	8.1 (Berkeley) 6/16/93
33df930be7Sderaadt.\"
34*a398fd9aSjmc.Dd $Mdocdate: October 13 2022 $
35df930be7Sderaadt.Dt DUMP 8
36fc8533a3Saaron.Os
37df930be7Sderaadt.Sh NAME
381fc62d73Sjmc.Nm dump ,
391fc62d73Sjmc.Nm rdump
40df930be7Sderaadt.Nd filesystem backup
41df930be7Sderaadt.Sh SYNOPSIS
427349792aSaaron.Nm dump
43fa6f37eaSjmc.Bk -words
44352e3770Sguenther.Op Fl 0123456789acnSuWw
45df930be7Sderaadt.Op Fl B Ar records
46df930be7Sderaadt.Op Fl b Ar blocksize
47df930be7Sderaadt.Op Fl d Ar density
48df930be7Sderaadt.Op Fl f Ar file
49df930be7Sderaadt.Op Fl h Ar level
50df930be7Sderaadt.Op Fl s Ar feet
51df930be7Sderaadt.Op Fl T Ar date
522904a520Smillert.Ar files-to-dump
53fa6f37eaSjmc.Ek
54df930be7Sderaadt.Sh DESCRIPTION
552904a520Smillert.Nm
56df930be7Sderaadtexamines files
57df930be7Sderaadton a filesystem
58df930be7Sderaadtand determines which files
599615e1d4Saaronneed to be backed up.
609615e1d4SaaronThese files are copied to the given disk, tape or other
619c97feadSjmcstorage medium for safe keeping.
62df930be7SderaadtA dump that is larger than the output medium is broken into
63df930be7Sderaadtmultiple volumes.
64df930be7SderaadtOn most media the size is determined by writing until an
659615e1d4Saaronend-of-media indication is returned.
669615e1d4SaaronThis can be enforced by using the
67c92051ffSjmc.Fl a
6831ebca96Sderaadtoption.
6931ebca96Sderaadt.Pp
709c97feadSjmc.Nm
719c97feadSjmcworks across networks,
729c97feadSjmcreplacing the functionality of the old
739c97feadSjmc.Nm rdump
749c97feadSjmcprogram
759c97feadSjmc(though
769c97feadSjmc.Nm
779c97feadSjmcmay still be invoked as
789c97feadSjmc.Nm rdump ) .
799c97feadSjmcSee the
809c97feadSjmc.Fl f
819c97feadSjmcoption for more on writing backups to remote hosts.
829c97feadSjmc.Pp
83231ed2beSjmcFiles can be marked with the
84231ed2beSjmc.Dq nodump
85231ed2beSjmcflag using
86231ed2beSjmc.Xr chflags 1 ,
87231ed2beSjmcsettable only by the file's owner or the superuser.
88231ed2beSjmcFiles with this flag set will only be dumped during full backups.
89583aebd5SzhukWhen set on a directory,
90583aebd5Szhuk.Dq nodump
91583aebd5Szhukeffectively deselects the whole subtree from being dumped,
92583aebd5Szhukthough it will still be scanned.
93231ed2beSjmcSee also the
94231ed2beSjmc.Fl h
95231ed2beSjmcoption, below.
96231ed2beSjmc.Pp
97df930be7SderaadtOn media that cannot reliably return an end-of-media indication
985eaf1a72Saaron(such as some cartridge tape drives),
99df930be7Sderaadteach volume is of a fixed size;
1005eaf1a72Saaronthe actual size is determined by the tape size, density and/or
101df930be7Sderaadtblock count options below.
102df930be7SderaadtBy default, the same output file name is used for each volume
103df930be7Sderaadtafter prompting the operator to change media.
104df930be7Sderaadt.Pp
105ca20d4abSjmcRewinding or ejecting tape features after a close operation on
106ca20d4abSjmca tape device depend on the name of the tape unit device used.
107ca20d4abSjmcSee the
108ca20d4abSjmc.Fl f
109ca20d4abSjmcoption and
110ca20d4abSjmc.Xr st 4
111ca20d4abSjmcfor more information.
112ca20d4abSjmc.Pp
1138cf461a5SaaronThe options are as follows:
114df930be7Sderaadt.Bl -tag -width Ds
115df930be7Sderaadt.It Fl 0\-9
116df930be7SderaadtDump levels.
117df930be7SderaadtA level 0, full backup,
118df930be7Sderaadtguarantees the entire file system is copied
119df930be7Sderaadt(but see also the
120df930be7Sderaadt.Fl h
121df930be7Sderaadtoption below).
122df930be7SderaadtA level number above 0,
123df930be7Sderaadtincremental backup,
1245eaf1a72Saarontells
12558aefd4bSaaron.Nm
1265eaf1a72Saaronto
127df930be7Sderaadtcopy all files new or modified since the
12873f99594Sderaadtlast dump of a lower level.
12997192cfdSderaadtThe default level is 0.
1305610c509Smillert.It Fl a
13131ebca96Sderaadt.Dq auto-size .
1322904a520SmillertBypass all tape length considerations, and enforce writing until
1339615e1d4Saaronan end-of-media indication is returned.
1349615e1d4SaaronThis option is recommended for most modern tape drives.
1359615e1d4SaaronUse of this option is particularly
13631ebca96Sderaadtrecommended when appending to an existing tape, or using a tape
13731ebca96Sderaadtdrive with hardware compression (where you can never be sure about
13831ebca96Sderaadtthe compression ratio).
1395610c509Smillert.It Fl B Ar records
1405610c509SmillertThe number of kilobytes per volume, rounded
1415610c509Smillertdown to a multiple of the blocksize.
1422904a520SmillertThis option overrides the calculation of tape size
1432904a520Smillertbased on length and density.
144df930be7Sderaadt.It Fl b Ar blocksize
1455610c509SmillertThe number of kilobytes per dump record.
146d608be15SjmcSince the I/O system slices all requests into chunks of MAXBSIZE
14731ebca96Sderaadt(typically 64KB), it is not possible to use a larger blocksize
14831ebca96Sderaadtwithout having problems later with
14931ebca96Sderaadt.Xr restore 8 .
15031ebca96SderaadtTherefore
15131ebca96Sderaadt.Nm
15231ebca96Sderaadtwill constrain writes to MAXBSIZE.
1535610c509Smillert.It Fl c
15431ebca96SderaadtChange the defaults for use with a cartridge tape drive, with a density
15531ebca96Sderaadtof 8000 bpi, and a length of 1700 feet.
156df930be7Sderaadt.It Fl d Ar density
157df930be7SderaadtSet tape density to
158df930be7Sderaadt.Ar density .
159df930be7SderaadtThe default is 1600BPI.
160df930be7Sderaadt.It Fl f Ar file
161df930be7SderaadtWrite the backup to
162df930be7Sderaadt.Ar file ;
163df930be7Sderaadt.Ar file
164df930be7Sderaadtmay be a special device file
165df930be7Sderaadtlike
166d473c96aSmillert.Pa /dev/rst0
167df930be7Sderaadt(a tape drive),
168df930be7Sderaadt.Pa /dev/rsd1c
169df930be7Sderaadt(a disk drive),
170df930be7Sderaadtan ordinary file,
171df930be7Sderaadtor
1722ccaea2fSjmc.Sq -
173df930be7Sderaadt(the standard output).
1742ccaea2fSjmcSee also the
1752ccaea2fSjmc.Ev TAPE
1762ccaea2fSjmcenvironment variable, below.
1772ccaea2fSjmc.Pp
178df930be7SderaadtMultiple file names may be given as a single argument separated by commas.
179df930be7SderaadtEach file will be used for one dump volume in the order listed;
180df930be7Sderaadtif the dump requires more volumes than the number of names given,
18196108973Sjmcthe last file name will be used for all remaining volumes after prompting
182df930be7Sderaadtfor media changes.
183df930be7SderaadtIf the name of the file is of the form
1845eaf1a72Saaron.Dq host:file
185df930be7Sderaadtor
186df930be7Sderaadt.Dq user@host:file ,
1872904a520Smillert.Nm
188df930be7Sderaadtwrites to the named file on the remote host using
189df930be7Sderaadt.Xr rmt 8 .
190df930be7Sderaadt.It Fl h Ar level
191df930be7SderaadtHonor the user
192df930be7Sderaadt.Dq nodump
193e232ad66Sjmcflag (see above),
194df930be7Sderaadtonly for dumps at or above the given
195df930be7Sderaadt.Ar level .
196df930be7SderaadtThe default honor level is 1,
197df930be7Sderaadtso that incremental backups omit such files
198df930be7Sderaadtbut full backups retain them.
199df930be7Sderaadt.It Fl n
200df930be7SderaadtWhenever
2012904a520Smillert.Nm
202df930be7Sderaadtrequires operator attention,
203df930be7Sderaadtnotify all operators in the group
204df930be7Sderaadt.Dq operator
205df930be7Sderaadtby means similar to a
206df930be7Sderaadt.Xr wall 1 .
2070b5a38dcSstephan.It Fl S
2080b5a38dcSstephanDisplay an estimate of the backup size and the number of tapes
2090b5a38dcSstephanrequired, and exit without actually performing the dump.
210df930be7Sderaadt.It Fl s Ar feet
211df930be7SderaadtAttempt to calculate the amount of tape needed
212df930be7Sderaadtat a particular density.
213df930be7SderaadtIf this amount is exceeded,
2142904a520Smillert.Nm
215df930be7Sderaadtprompts for a new tape.
216df930be7SderaadtIt is recommended to be a bit conservative on this option.
217df930be7SderaadtThe default tape length is 2300 feet.
218df930be7Sderaadt.It Fl T Ar date
219df930be7SderaadtUse the specified date as the starting time for the dump
220df930be7Sderaadtinstead of the time determined from looking in
221df930be7Sderaadt.Pa /etc/dumpdates .
2225eaf1a72SaaronThe format of
2235eaf1a72Saaron.Ar date
2245eaf1a72Saaronis the same as that of
225df930be7Sderaadt.Xr ctime 3 .
226df930be7SderaadtThis option is useful for automated dump scripts that wish to
227df930be7Sderaadtdump over a specific period of time.
228df930be7SderaadtThe
229df930be7Sderaadt.Fl T
230df930be7Sderaadtflag is mutually exclusive from the
231df930be7Sderaadt.Fl u
232df930be7Sderaadtflag.
233df930be7Sderaadt.It Fl u
234df930be7SderaadtUpdate the file
235df930be7Sderaadt.Pa /etc/dumpdates
236df930be7Sderaadtafter a successful dump.
237df930be7SderaadtThe format of
238df930be7Sderaadt.Pa /etc/dumpdates
23996108973Sjmcis human readable, consisting of one
240df930be7Sderaadtfree format record per line:
241352e3770Sguentherfilesystem name (defaults to
242352e3770Sguenther.Xr disklabel 8
243352e3770SguentherUID when possible),
244df930be7Sderaadtincrement level
245df930be7Sderaadtand
246df930be7Sderaadt.Xr ctime 3
247df930be7Sderaadtformat dump date.
248df930be7SderaadtThere may be only one entry per filesystem at each level.
249df930be7SderaadtThe file
250df930be7Sderaadt.Pa /etc/dumpdates
251df930be7Sderaadtmay be edited to change any of the fields,
252df930be7Sderaadtif necessary.
2532904a520SmillertIf a list of files or subdirectories is being dumped
254a8161f1bSderaadt(as opposed to an entire filesystem), then
2552904a520Smillert.Fl u
2562904a520Smillertis ignored.
257df930be7Sderaadt.It Fl W
2582904a520Smillert.Nm
259df930be7Sderaadttells the operator what file systems need to be dumped.
260df930be7SderaadtThis information is gleaned from the files
261df930be7Sderaadt.Pa /etc/dumpdates
262df930be7Sderaadtand
263df930be7Sderaadt.Pa /etc/fstab .
264df930be7SderaadtThe
265df930be7Sderaadt.Fl W
266df930be7Sderaadtflag causes
2672904a520Smillert.Nm
268df930be7Sderaadtto print out, for each file system in
2695eaf1a72Saaron.Pa /etc/dumpdates ,
270df930be7Sderaadtthe most recent dump date and level,
271df930be7Sderaadtand highlights those file systems that should be dumped.
272df930be7SderaadtIf the
273df930be7Sderaadt.Fl W
274df930be7Sderaadtflag is set, all other options are ignored, and
2752904a520Smillert.Nm
276df930be7Sderaadtexits immediately.
277df930be7Sderaadt.It Fl w
2785eaf1a72SaaronSame as
2795eaf1a72Saaron.Fl W ,
2805eaf1a72Saaronbut prints only those filesystems which need to be dumped.
281df930be7Sderaadt.El
282df930be7Sderaadt.Pp
283231ed2beSjmc.Ar files-to-dump
284231ed2beSjmcis either a mount point of a filesystem
285231ed2beSjmcor a list of files and directories on a single filesystem to be backed
286231ed2beSjmcup as a subset of the filesystem.
2879a7a7e72SjmcIn the former case, either the path to a mounted filesystem,
2889a7a7e72Sjmcthe device of an unmounted filesystem or the
2899a7a7e72Sjmc.Xr disklabel 8
2909a7a7e72SjmcUID can be used.
291231ed2beSjmcIn the latter case, certain restrictions are placed on the backup:
292231ed2beSjmc.Fl u
293231ed2beSjmcis ignored, the only dump level that is supported is
294231ed2beSjmc.Fl 0 ,
295231ed2beSjmcand all of the files must reside on the same filesystem.
296ed108a78SmillertIf no options are specified, the first of the
297ed108a78Smillert.Ar files-to-dump
298ed108a78Smillertmust contain a
299ed108a78Smillert.Ql /
300ed108a78Smillertcharacter to prevent it from being interpreted as a
301ed108a78Smillert.Bx 4.3
302ed108a78Smillertoption string.
303231ed2beSjmc.Pp
3042904a520Smillert.Nm
305df930be7Sderaadtrequires operator intervention on these conditions:
306df930be7Sderaadtend of tape,
307df930be7Sderaadtend of dump,
308df930be7Sderaadttape write error,
309df930be7Sderaadttape open error or
3105eaf1a72Saarondisk read error (if there is more than a threshold of 32).
311df930be7SderaadtIn addition to alerting all operators implied by the
312df930be7Sderaadt.Fl n
313df930be7Sderaadtflag,
3142904a520Smillert.Nm
315df930be7Sderaadtinteracts with the operator on
316df930be7Sderaadt.Nm dump Ns 's
317*a398fd9aSjmccontrolling terminal at times when
3182904a520Smillert.Nm
319df930be7Sderaadtcan no longer proceed,
320df930be7Sderaadtor if something is grossly wrong.
321df930be7SderaadtAll questions
3222904a520Smillert.Nm
323df930be7Sderaadtposes
324df930be7Sderaadt.Em must
325df930be7Sderaadtbe answered by typing
326df930be7Sderaadt.Dq yes
327df930be7Sderaadtor
328df930be7Sderaadt.Dq no ,
329df930be7Sderaadtappropriately.
330df930be7Sderaadt.Pp
331df930be7SderaadtSince making a dump involves a lot of time and effort for full dumps,
3322904a520Smillert.Nm
333df930be7Sderaadtcheckpoints itself at the start of each tape volume.
334df930be7SderaadtIf writing that volume fails for some reason,
3352904a520Smillert.Nm
336df930be7Sderaadtwill,
337df930be7Sderaadtwith operator permission,
338df930be7Sderaadtrestart itself from the checkpoint
339df930be7Sderaadtafter the old tape has been rewound and removed,
340df930be7Sderaadtand a new tape has been mounted.
341df930be7Sderaadt.Pp
3422904a520Smillert.Nm
343df930be7Sderaadttells the operator what is going on at periodic intervals,
344df930be7Sderaadtincluding usually low estimates of the number of blocks to write,
345df930be7Sderaadtthe number of tapes it will take, the time to completion, and
346df930be7Sderaadtthe time to the tape change.
347df930be7SderaadtThe output is verbose,
348df930be7Sderaadtso that others know that the terminal
349df930be7Sderaadtcontrolling
3502904a520Smillert.Nm
351df930be7Sderaadtis busy,
352df930be7Sderaadtand will be for some time.
353df930be7Sderaadt.Pp
354316b5168SjmcIf
355316b5168Sjmc.Nm
356316b5168Sjmcreceives a
357316b5168Sjmc.Dv SIGINFO
358316b5168Sjmcsignal
359316b5168Sjmc(see the
360316b5168Sjmc.Dq status
361316b5168Sjmcargument of
362316b5168Sjmc.Xr stty 1 )
363316b5168Sjmcwhilst a backup is in progress, statistics on the amount completed,
364316b5168Sjmccurrent transfer rate, and estimated finished time, will be written
365316b5168Sjmcto the standard error output.
366316b5168Sjmc.Pp
367df930be7SderaadtIn the event of a catastrophic disk event, the time required
368df930be7Sderaadtto restore all the necessary backup tapes or files to disk
369edb8ff26Sottois dependent on the levels of the dumps taken.
370edb8ff26SottoA few methods of staggering incremental dumps to either minimize
371edb8ff26Sottobackup effort or restore effort follow:
372df930be7Sderaadt.Bl -bullet -offset indent
373df930be7Sderaadt.It
374df930be7SderaadtAlways start with a level 0 backup, for example:
375df930be7Sderaadt.Bd -literal -offset indent
376f314c710Smpech# /sbin/dump -0u -f /dev/nrst1 /usr/src
377df930be7Sderaadt.Ed
378df930be7Sderaadt.Pp
379df930be7SderaadtThis should be done at set intervals, say once a month or once every two months,
380df930be7Sderaadtand on a set of fresh tapes that is saved forever.
381df930be7Sderaadt.It
382edb8ff26SottoAfter the level 0 dump,
383edb8ff26Sottobackups of active file systems are taken on each day in a cycle of a week.
384edb8ff26SottoOnce a week, a level 1 dump is taken.
385edb8ff26SottoThe other days of the week a higher level dump is done.
386edb8ff26Sotto.Pp
387edb8ff26SottoThe following cycle needs at most three tapes to restore to a given point
388edb8ff26Sottoin time,
389edb8ff26Sottobut the dumps at the end of the weekly cycle will require more
390edb8ff26Sottotime and space:
391df930be7Sderaadt.Bd -literal -offset indent
392edb8ff26Sotto1 2 2 2 2 2 2
393df930be7Sderaadt.Ed
394df930be7Sderaadt.Pp
395edb8ff26SottoThis sequence requires at most eight tapes to restore,
396edb8ff26Sottobut the size of the individual dumps will be smaller:
397edb8ff26Sotto.Bd -literal -offset indent
398edb8ff26Sotto1 2 3 4 5 6 7
399edb8ff26Sotto.Ed
400df930be7Sderaadt.Pp
401edb8ff26SottoThis sequence seeks a compromise between backup and restore effort:
402edb8ff26Sotto.Bd -literal -offset indent
403edb8ff26Sotto1 2 2 3 3 4 4
404edb8ff26Sotto.Ed
405edb8ff26Sotto.Pp
406edb8ff26SottoThe weekly level 1 dumps should be done on a set of tapes that
407edb8ff26Sottois used cyclically.
408edb8ff26SottoFor the daily dumps a tape per day of the week can be used.
409edb8ff26Sotto.It
410df930be7SderaadtAfter several months or so, the daily and weekly tapes should get
411df930be7Sderaadtrotated out of the dump cycle and fresh tapes brought in.
412edb8ff26Sotto.El
4132b65e200Sjmc.Sh ENVIRONMENT
4142b65e200Sjmc.Bl -tag -width /etc/dumpdates
4152b65e200Sjmc.It Ev TAPE
4162ccaea2fSjmcThe default file to use instead of
4172ccaea2fSjmc.Pa /dev/rst0 .
4182ccaea2fSjmcSee also
4192ccaea2fSjmc.Fl f ,
4202ccaea2fSjmcabove.
4212b65e200Sjmc.El
422df930be7Sderaadt.Sh FILES
423df930be7Sderaadt.Bl -tag -width /etc/dumpdates -compact
424d473c96aSmillert.It Pa /dev/rst0
425df930be7Sderaadtdefault tape unit to dump to
42609f2560dSniklas.It Pa /dev/rst*
4275eaf1a72Saaronraw SCSI tape interface
428df930be7Sderaadt.It Pa /etc/dumpdates
429df930be7Sderaadtdump date records
430df930be7Sderaadt.It Pa /etc/fstab
431df930be7Sderaadtdump table: file systems and frequency
432df930be7Sderaadt.It Pa /etc/group
433df930be7Sderaadtto find group
434df930be7Sderaadt.Em operator
435df930be7Sderaadt.El
436e8595272Sjmc.Sh EXIT STATUS
4372b65e200Sjmc.Nm
4382b65e200Sjmcexits with zero status on success.
4392b65e200SjmcStartup errors are indicated with an exit code of 1;
4402b65e200Sjmcabnormal termination is indicated with an exit code of 3.
441e8595272Sjmc.Sh DIAGNOSTICS
442e8595272SjmcMany, and verbose.
443df930be7Sderaadt.Sh SEE ALSO
444e232ad66Sjmc.Xr chflags 1 ,
4452904a520Smillert.Xr stty 1 ,
446647427d6Sderaadt.Xr fts_open 3 ,
44730c492beSderaadt.Xr rcmd 3 ,
44884deb922Saaron.Xr st 4 ,
4497acc01d2Saaron.Xr fstab 5 ,
450df930be7Sderaadt.Xr restore 8 ,
4512904a520Smillert.Xr rmt 8
4529615e1d4Saaron.Sh HISTORY
4539615e1d4SaaronA
4542904a520Smillert.Nm
4559615e1d4Saaroncommand appeared in
456e2e0d09dSschwarze.At v4 .
45765b0a20cSjmc.Pp
45865b0a20cSjmcThe
45965b0a20cSjmc.Bx 4.3
46065b0a20cSjmcoption syntax is implemented for backward compatibility but
46165b0a20cSjmcis not documented here.
462df930be7Sderaadt.Sh BUGS
463df930be7SderaadtFewer than 32 read errors on the filesystem are ignored.
464df930be7Sderaadt.Pp
465df930be7SderaadtEach reel requires a new process, so parent processes for
466df930be7Sderaadtreels already written just hang around until the entire tape
467df930be7Sderaadtis written.
468df930be7Sderaadt.Pp
4692904a520Smillert.Nm
470df930be7Sderaadtwith the
471df930be7Sderaadt.Fl W
472df930be7Sderaadtor
473df930be7Sderaadt.Fl w
4745eaf1a72Saaronflag does not report filesystems that have never been recorded
475df930be7Sderaadtin
476df930be7Sderaadt.Pa /etc/dumpdates ,
477df930be7Sderaadteven if listed in
478df930be7Sderaadt.Pa /etc/fstab .
479df930be7Sderaadt.Pp
4802904a520SmillertWhen dumping a list of files or subdirectories, access privileges are
4812904a520Smillertrequired to scan the directory (as this is done via the
482647427d6Sderaadt.Xr fts_open 3
4832904a520Smillertroutines rather than directly accessing the filesystem).
4842904a520Smillert.Pp
485df930be7SderaadtIt would be nice if
4862904a520Smillert.Nm
487df930be7Sderaadtknew about the dump sequence,
488df930be7Sderaadtkept track of the tapes scribbled on,
489df930be7Sderaadttold the operator which tape to mount when,
490df930be7Sderaadtand provided more assistance
491df930be7Sderaadtfor the operator running
492ac1aa35bSmpech.Xr restore 8 .
493