History log of /src/sbin/dump/dump.8
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 phil-wifi-20191119
# 1.72 19-Aug-2019 perseant

Add -D flag to allow the user to specify an alternate dumpdates file.
Closes PR #54469.


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609
# 1.71 25-Mar-2019 wiz

Bump date for previous.


# 1.70 25-Mar-2019 manu

Add -U flag to dump(8) and dump_lfs(8) to specify dumpdates entry

This address situations where dump(8) cannot figure out the device being
dumped. It also allows tracking of subvolume dumps by using virtual
device as dumpdates entry.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
# 1.69 15-Jul-2018 dholland

Document what rdump is (was once) for. PR 53442.


Revision tags: netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914
# 1.68 15-Aug-2016 sevan

branches: 1.68.6; 1.68.12; 1.68.14;
dump was there from v4.
Confirmed from the TUHS hosted copies of man pages.
Bump date.


Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.67 24-Aug-2015 bouyer

Default the read block size (-k default value) to kern.maxphys (usually
64k these days). This gives a noticable performance boost on large filesystems.


# 1.66 28-Apr-2015 prlw1

Fix typos


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
# 1.65 29-Aug-2012 dholland

branches: 1.65.10;
Use more markup, fix English usage.


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4
# 1.64 19-Feb-2012 wiz

Sort option descriptions a bit more.


# 1.63 19-Feb-2012 christos

PR/45735: Bug Hunting: The dump(8) manpage, as well as the program's `usage'-line,
needs improvement


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.62 05-Nov-2010 hannken

branches: 1.62.6; 1.62.8;
File system snapshots are no longer experimental.


# 1.61 14-May-2010 jruoho

Use a list for the list of bugs.


# 1.60 26-Feb-2010 wiz

-i does not take an argument. Remove unnecessary Bk/Ek. New sentence, new line.


# 1.59 26-Feb-2010 christos

PR/42883: Greywolf: Add -i flag which brings "true incremental" capability.


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
# 1.58 30-Jan-2009 enami

Use indent-synopsis instead of iS register. The latter is a register
used in BSD derived .Nm implementation.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 mjf-devfs2-base
# 1.57 12-Aug-2008 simonb

We don't need to dump WAPBL log files - don't dump files with SF_LOG
flag set, and document this.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base mjf-devfs-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 1.56 11-Sep-2005 wiz

branches: 1.56.20; 1.56.24;
Argument is read-blocksize, not "read blocksize". From YOMURA Masanori in private mail.


# 1.55 19-Apr-2005 wiz

Sort SEE ALSO.


# 1.54 19-Apr-2005 hannken

Snapshot support for dump(8):

- New option `-x backup' takes the dump from a snapshot backed up by `backup'.
The snapshot will be deleted on exit.

- New option `-X' as a synonym for `-x mountpoint' where `mountpoint' is the
file system to be dumped.

Reviewed and Approved by: Manuel Bouyer <bouyer@netbsd.org>


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.53 07-Aug-2003 agc

branches: 1.53.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.


# 1.52 26-May-2003 lukem

* Document $RCMD_CMD in environ(7).
* Cross-reference rcmd(1), rcmd(3), and environ(7) as appropriate.

Should fix [bin/21670] from Geoff Wing.


# 1.51 27-Mar-2003 lukem

Use "wall -g operator" (instead of private code) to broadcast() messages to
members of the operator group.
Don't install "setgid tty", and remove now unnecessary gid/egid swapping.
Remove utmp trawling code pulled in from usr.bin/who.
The Code is now simpler, and more portable (without the utmp cruft) too.

This is derived from similar work in OpenBSD.


# 1.50 25-Feb-2003 wiz

.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.


# 1.49 04-Feb-2003 perry

"Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".


Revision tags: fvdl_fs64_base
# 1.48 01-Oct-2002 wiz

New sentence, new line. By Robert Elz with minimal fixes.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.47 26-Feb-2002 wiz

Typo fix, from jslag@prop.walkerart.org via OpenBSD.


# 1.46 21-Jan-2002 wiz

Fix typo in macro.


# 1.45 07-Jan-2002 bouyer

For -l: specify the timeout on the command line (in seconds) instead of
hardwiring it to 2s, as suggested on tech-userlevel.


# 1.44 30-Dec-2001 lukem

Add -a to "auto-size" the tape, rather than relying upon other options
to define the tape size. Requires the tape driver to either return ENOSPC
at end of media, or 0 when a write is attempted (such as the "early warning"
support in st(4) enabled with "mt eew 1"). From FreeBSD.


# 1.43 14-Dec-2001 bouyer

Add a -l (autoload) flag. For multivolume dumps, this makes dump eject the
tape when a volume is full, and try to reopen the tape drive for 2 mn.
To be used with tape changers which load the next tape when the current one is
ejected.
While I'm there fix eject handling for remote tape.


# 1.42 07-Dec-2001 wiz

One '\' too many.


# 1.41 16-Nov-2001 lukem

relax the restriction on -F that the file system image argument must be a
regular file


# 1.40 15-Oct-2001 wiz

Whitespace fixes, sort SEE ALSO, sort sections.


# 1.39 15-Oct-2001 blymn

Add the capability for dump to print timestamps on all informational
messages.


# 1.38 14-Aug-2001 lukem

- implement -F, which indicates that files-to-dump is a regular file
containing a file system image (instead of being a single file as
part of a subtree dump)
- use "file system" instead of "filesystem" or "file-system"


# 1.37 05-Jun-2001 wiz

Drop arguments of .Os.


# 1.36 28-May-2001 lukem

* improve parsing of file-systems-to-dump when a path is given:
- if it's a path to an unmounted file-system listed in /etc/fstab, use
that instead of assuming the user wanted a subtree dump of the parent
directory. this restores the behaviour of dump before the subtree
dumping code went in.
- if it's a path to a mounted file-system which is not in /etc/fstab,
use the info from getmntinfo(3). previously, dump would choke.
* implement error checked malloc(), calloc(), strdup(), and use
appropriately (some of the calloc()s weren't being checked)
* use 'file-system' instead of 'filesystem' in the man page


# 1.35 07-May-2001 tron

Add a new option "e" to "dump" which allows to eject tapes automatically
if a tape change is required.


Revision tags: netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.34 01-Jul-1999 abs

branches: 1.34.8;
Note the default tape device is taken from _PATH_DEFTAPE in /usr/include/paths.h


# 1.33 28-Jun-1999 abs

Default device is nrst0 not rst0


Revision tags: netbsd-1-4-RELEASE netbsd-1-4-base
# 1.32 23-Mar-1999 bouyer

branches: 1.32.2;
Implement a read cache, as announced on tech-userlevel. Default is 32k
read buffer size, 512 buffer or 15% of the user memory. Can be changed
with the -k and -s options.


# 1.31 09-Mar-1999 bouyer

Handle "nodump" flag on directories, by not dumping any files or directories
under it. Based on some parts of PR 6705 by Brian Grayson.
In the Makefile, add (commented out) debug options that can be turned on.


# 1.30 07-Mar-1999 mycroft

Clean up SYNOPSIS formatting.


# 1.29 03-Jan-1999 lukem

s/1998/1999/


# 1.28 03-Jan-1999 lukem

add support for '-L label', which file(1) and restore(1) can extract
from the header.
mostly based on [bin/6715] from Brian Grayson <bgrayson@ece.utexas.edu>


# 1.27 02-Jan-1999 tron

Add reference to "st(4)" as suggested by Brian Grayson in PR bin/6713.


# 1.26 11-Aug-1998 frueauf

A dump level above 0 saves new or modified files since the last dump of
a lower level, not the same level. Fixes pr 5402 by Kevin Sullivan.


# 1.25 03-Jul-1998 fair

PR#5697 + nroff cleanup


# 1.24 29-Apr-1998 fair

fix bad .Xr references


# 1.23 28-Apr-1998 fair

Change occurrences of "UNIX" to .Ux or .At as appropriate.


# 1.22 11-Nov-1997 mrg

add missing .Nm sections.


Revision tags: netbsd-1-3-base
# 1.21 20-Oct-1997 enami

branches: 1.21.2;
Fix .Nm usage.


# 1.20 18-Sep-1997 lukem

Various changes from Brian Grayson <bgrayson@ece.utexas.edu> in [bin/4103]
* exit after providing an estimate if -S was given. the PR used -e,
but checking around indicated prior art in Solaris usin -S.
* remove superfluous 'DUMP:' prefix in two messages
* initialise blocksperfile explicitly (not necessary, but everything
else in that section gets initialised, so be consistant :)
* display the ``pretty'' name of the dumped directory, so the user
knows if it's a subset or not


# 1.19 16-Sep-1997 lukem

resolve conflicts from lite-2 import


# 1.18 15-Sep-1997 lukem

* cleanup for WARNS=1
* fix use of .Nm
* comment out some unused(?) functions


# 1.17 05-Jun-1997 lukem

cleanup xrefs


# 1.16 05-Jun-1997 lukem

* Add the ability to dump specific files & directories of a single
filesystem. This uses fts(3) to access the directory structure (and
not the raw device), so the standard access permissions are adhered
to (unlike dumping an entire filesystem, which just requires read
access to the raw disk device).
* Support SIGINFO status reporting.
* Remove now unused variables that previously stored the (e)uid.
* Be more informative in a couple of error messages.


# 1.15 15-Apr-1997 lukem

use _PATH_DEFTAPE from <paths.h>
change doco references/examples from /dev/rmt* to /dev/rst*


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.14 05-Feb-1996 mrg

support $TAPE. update manual to reflect reality (#1937).


# 1.13 02-Feb-1996 phil

Add /dev/rst* to FILES section. (pr 601) (Matches mt man page.)


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.12 18-Mar-1995 cgd

convert to new RCS Id conventions; reduce my headache


# 1.11 21-Feb-1995 mycroft

Fix an old formatting glitch.


# 1.10 20-Feb-1995 mycroft

Use getopt(3), with obsolete() from restore(8) for backward compatibility.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.9 08-Jun-1994 mycroft

Update from 4.4-Lite, with local changes.


# 1.8 28-Jan-1994 jtc

More spelling errors.


# 1.7 22-Dec-1993 cgd

new version from CSRG, via BSDI, with fixes


# 1.6 30-Nov-1993 jtc

Use ".At v6" macro instead of spelling out "Version 6 AT&T UNIX".


# 1.5 20-Aug-1993 jtc

Dump is now in /sbin.


# 1.4 01-Aug-1993 mycroft

Add RCS indentifiers.


Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base netbsd-0-8 netbsd-alpha-1
# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision