History log of /freebsd-current/sbin/dump/dump.8
Revision Date Author Comments
# 51e16cb8 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

sbin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# 70a2e109 28-Dec-2020 Guangyuan Yang <ygy@FreeBSD.org>

dump(8): clarify the recommended use of cache and snapshots

PR: 131626
MFC after: 1 week
Submitted by: Andrew Hamilton-Wright <andrew@qemg.org>
Reviewed by: bcr
Differential Revision: https://reviews.freebsd.org/D27775


# e924cb6f 14-Jun-2019 Kirk McKusick <mckusick@FreeBSD.org>

Clarify that the -r and -R options can be used only to create level 0 dumps.

Suggested by: phk
MFC after: 3 days


# 37d6a8f4 11-Jun-2018 Warner Losh <imp@FreeBSD.org>

Revert size limits.

The size limits came from a flawed understanding of dump records.
The real issue was that dump was bogusly interpreting c_count
sometimes. r334978 fixes that.


# 94e18833 11-Jun-2018 Warner Losh <imp@FreeBSD.org>

Document the newly enforced 524288 inode restriction.


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# b26d1098 02-Oct-2016 Sevan Janiyan <sevan@FreeBSD.org>

dump(8) first appeared in V4 UNIX
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man8

PR: 212444
Approved by: bcr (mentor)
Obtained from: TUHS
MFC after: 4 days
Differential Revision: https://reviews.freebsd.org/D8105


# a692c58a 23-May-2012 Joel Dahl <joel@FreeBSD.org>

mdoc: move two sentences from synopsis to description (where they really
belong). With this change, mandoc now formats these manpages properly.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 693c40a3 23-May-2008 Kirk McKusick <mckusick@FreeBSD.org>

When using dump to generate level 0 dumps which are then rsync'ed
to a remote machine, the fact that the dump date is stored with
each header (inode) record makes rsync significantly less efficient
than necessary. This also applies to inode access times when they
are not important data to retain. When implementing an offsite
backup solution of this type, these dates in particular are not
important, especially if it prevents effective offsite backups.

PR: bin/91049
Submitted by: Forrest W Christian <fwc@mt.net>


# 8266d476 18-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Markup fixes.


# 72408a12 16-Aug-2006 Thomas Quinot <thomas@FreeBSD.org>

Clarify documentation of '-L' command line switch: the snapshot is
unlinked as soon as the dump starts (and removed when the dump is
completed, and the dump process exits). Previous wording was confusing
because users might expect the snapshot to be visible in the .snap
subdirectory while dump is running.

MFC after: 1 week


# e388c208 24-Feb-2006 Giorgos Keramidas <keramida@FreeBSD.org>

Revert a minor glitch of revision 1.69

Submitted by: Andriy Tkachuk <andrit@ukr.net>
X-MFC after: RE approval


# 2fa0cf5b 22-Dec-2005 Warner Losh <imp@FreeBSD.org>

Add the example that green@ used in his commit log for the dump to a
pipe functionality. I've done a cvs log main.c about a dozen times
now. Maybe others will find this useful.


# b1f1271f 31-Jul-2005 Ceri Davies <ceri@FreeBSD.org>

Correct the description of the TAPE environment variable.
Based on:

PR: docs/84200
Submitted by: Gary W. Swearingen <garys at opusnet dot com>
MFC after: 1 week


# 73e31afa 21-Jan-2005 Wes Peters <wes@FreeBSD.org>

Improved error checking for existence of a .snap directory to
generate snapshots in when -L is requested. If the .snap directory
does not exist, or is not a directory, issue a warning and revert
to the non- live behavior.

Obtained from: St. Bernard Software RAPID


# 6087df9e 18-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sort sections.


# a866e170 17-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Added the EXIT STATUS section where appropriate.


# d04b5dfe 17-May-2004 Ruslan Ermilov <ru@FreeBSD.org>

Assorted markup, grammar, and spelling fixes.


# c51d70c6 12-Apr-2004 Brian Feldman <green@FreeBSD.org>

Add -P arguments for dump(8) and restore(8) which allow the user to
use backup methods other than files and tapes. The -P argument is
a normal sh(1) pipeline with either $DUMP_VOLUME or $RESTORE_VOLUME
defined in the environment, respectively.

For example, I can back up my home to three DVD+R[W]s as so:
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s2e 40028550 10093140 26733126 27% /home
green# dump -0 -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /home


# f7c7b87f 12-Apr-2004 Brian Feldman <green@FreeBSD.org>

Improve the warnings for dump -L and do not bother doing the snapshot if
it is specified for read-only filesystems.

Submitted by: Jason Young <jyoung8607@hotmail.com>
PR: 46672


# 4c723140 09-Apr-2004 Mark Murray <markm@FreeBSD.org>

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


# 93ba0fc8 14-Jan-2004 Alexander Langer <alex@FreeBSD.org>

Add RSH to the list of enviroment variables.


# b17f40bb 17-Nov-2003 Kirk McKusick <mckusick@FreeBSD.org>

Document that the live dump command (`dump -L') creates its snapshot
in the .snap directory in the root of the filesystem being dumped.
Document that if the .snap directory is missing that it must be
created manually and that it should be owned by user root and
group operator and set to mode 770 before a live dump can be run.


# 5324d49a 05-Nov-2003 Ken Smith <kensmith@FreeBSD.org>

- add explanation of what an active file system is
- explain the reason for permitting 32 read errors for a dump

PR: docs/35602 and docs/35607
Reviewed by: jhb
Approved by: blackend (mentor)


# 17fe3d1d 13-Jul-2003 Greg Lehey <grog@FreeBSD.org>

Remove reference to max block size. dump no longer limits the block size.


# 9680d7b6 07-Jun-2003 Philippe Charnier <charnier@FreeBSD.org>

Add section number to .Xr


# 44b81f0f 01-May-2003 Ruslan Ermilov <ru@FreeBSD.org>

Removed all vestiges of KerberosIV.


# 8edde085 01-May-2003 Mark Murray <markm@FreeBSD.org>

De-Kerberise (KerberosIV). KerberosIV is no longer present, and
remote backups can still be done with Kerberos authentication using
SSH and Kerberos 5.


# 1f6a4631 22-Feb-2003 Ruslan Ermilov <ru@FreeBSD.org>

Sort options.


# 5941e412 13-Jan-2003 Matthew Dillon <dillon@FreeBSD.org>

Add a caching option to dump. Use -C. Note that NetBSD has a caching option
called -r but it takes 512 byte blocks instead of megabytes, and I felt a
megabytes specification would be far more useful so I did not use the same
option character.

This will *greatly* improve dump performance at the cost of possibly
missing filesystem changes that occur between passes, and does a fairly
good job making up for the loss of buffered block devices. Caching is disabled
by default to retain historical behavior.

In tests, dump performance improved by about 40% when dumping / or /usr.

Beware that dump forks and the cache may wind up being larger then you
specify, but a more complex shared memory implementation would not produce
results that are all that much better so I kept it simple for now.

MFC after: 3 days


# 2ab3df59 10-Jan-2003 Sheldon Hearn <sheldonh@FreeBSD.org>

Add TAPE to the ENVIRONMENT section and standardize the section, using a
list instead of prose.

MFC after: 1 month


# 463cfa80 23-Dec-2002 Ruslan Ermilov <ru@FreeBSD.org>

Fixed the abuses of .Ql visible on stderr in troff mode.

PR: docs/37176


# 8d5d039f 12-Dec-2002 Ruslan Ermilov <ru@FreeBSD.org>

Uniformly refer to a file system as "file system".

Approved by: re


# 194a6667 03-Dec-2002 Kirk McKusick <mckusick@FreeBSD.org>

Add the `L' option to dump to notify it that it is dumping a
live filesystem. To obtain a consistent dump image, dump takes
a snapshot of the filesystem and then does a dump of the snapshot.
The snapshot is removed when the dump is complete.

Also add an operator warning that the `L' option should be used
if dump is run on a live filesystem without the `L' option being
specified. The alternative would be to silently use a snapshot
any time that a live filesystem is dumped, but this change in
dump semantics seemed too drastic at this time.

Sponsored by: DARPA & NAI Labs.
Approved by: re


# 5af4935a 26-Aug-2002 Tom Rhodes <trhodes@FreeBSD.org>

Fix some 'SYNOPSIS' and 'usage' messages.


# 277ffe6e 26-Aug-2002 Tom Rhodes <trhodes@FreeBSD.org>

Fix Synopsis


# ce66ddb7 21-Aug-2002 Tom Rhodes <trhodes@FreeBSD.org>

s/filesystem/file system/g as discussed on -developers


# e1205e80 06-Jul-2002 Philippe Charnier <charnier@FreeBSD.org>

The .Nm utility


# 1ec84e50 29-May-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: nits.


# 7ac80665 16-Apr-2002 Tom Rhodes <trhodes@FreeBSD.org>

dump(8)'s manual page is confusing in its use of records, blocks,
blocksizes, etc
does not give the default of -b
only mentiones rdump in the NAME section
uses both filesystem and file system in similar contexts

PR: 34248
Submitted by: Gary W. Swearingen <swear@blarg.net>
MFC after: 3 days


# 992b9b7a 15-Mar-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: tiny fixes.


# 9ac0768d 01-Mar-2002 Ian Dowse <iedowse@FreeBSD.org>

Add a new "-S" flag to dump to allow it just print out dump estimate
size and then exit.

PR: bin/35450
Submitted by: Mark Hannon <markhannon@optushome.com.au>
Obtained from: NetBSD
MFC after: 1 week


# 19f8080e 16-Feb-2002 Ian Dowse <iedowse@FreeBSD.org>

On receipt of a SIGINFO, schedule an immediate printout of the
percentage complete and remaining time estimate.

PR: bin/32138
Submitted by: mi


# 71717f5d 10-Feb-2002 Dima Dorfman <dd@FreeBSD.org>

Make it clear that dump(8)'s honoring of the UF_NODUMP flag is subject
to the -h option. While here, xref chflags(1).

PR: 33907
Submitted by: Gary W. Swearingen <swear@blarg.net>


# 03578dfe 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Sort options in DESCRIPTION.


# 478810b5 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Bump date for addition of -D.


# 7ebcc426 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Remove whitespace at EOL.


# 9fe48c6e 10-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: removed HISTORY info from the .Os call.


# 448087ae 10-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police:
Restored .Pa for ``dumpdates'' (it's still a file).
Also, removed duplicate ``file'' words.


# 988d64c2 08-Jul-2001 Matthew Dillon <dillon@FreeBSD.org>

Add manual page and usage for dump -D (supplied by Dima Dorfman) (will also
be MFC'd)

Submitted by: Dima Dorfman <dima@unixfreak.org>


# ff7405ad 09-Mar-2001 David E. O'Brien <obrien@FreeBSD.org>

bye-bye documented raw devices


# 801382fa 03-Mar-2001 David E. O'Brien <obrien@FreeBSD.org>

Support inheritance of the "nodump" flag down a hierarchy.

Submitted by: Dima Dorfman <dima@unixfreak.org>
Obtained from: NetBSD


# 1252c1bb 18-Dec-2000 Ruslan Ermilov <ru@FreeBSD.org>

Prepare for mdoc(7)NG.


# 7c7fb079 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: use the new features of the Nm macro.


# 726b61ab 10-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

Avoid use of direct troff requests in mdoc(7) manual pages.


# 257875be 07-May-2000 Kris Kennaway <kris@FreeBSD.org>

Update device name.


# ef8f7ac9 01-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# b1ba45cf 01-Mar-2000 Nik Clayton <nik@FreeBSD.org>

Remove xrefs to obsolete ft driver.

PR: docs/17080
Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>


# f050f700 22-Jan-2000 Mike Pritchard <mpp@FreeBSD.org>

Fix various man pages to stop abusing the .Bx macro to generate
the strings "FreeBSD" and "NetBSD". Use the .Fx or .Nx macro
instead.


# 07a48f4b 09-Jan-2000 Alexey Zelkin <phantom@FreeBSD.org>

Add `.Nm rdump' to NAME section.


# 7f3dea24 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 4a73c49a 22-Sep-1998 Ollivier Robert <roberto@FreeBSD.org>

Change rst0 into rsa0.


# 7580ffbb 15-Jun-1998 Philippe Charnier <charnier@FreeBSD.org>

Correct use of .Nm. Add rcsid. Remove unused #includes.


# f135a2b2 10-May-1998 Steve Price <steve@FreeBSD.org>

Fix minor typo.

PR: 6571
Submitted by: Stephen J. Roznowski <sjr@home.net>


# d2daa2c0 03-Jan-1998 Steve Price <steve@FreeBSD.org>

The default dumplevel is 0.

PR: 5413
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>


# 59dcbbb2 19-Oct-1997 Joerg Wunsch <joerg@FreeBSD.org>

Fix the man page description about what will go into an incremental
backup.

PR: docs/4785
Submitted by: Matthew Dillon


# b3941984 12-Oct-1997 Joerg Wunsch <joerg@FreeBSD.org>

The unit for the B option is 1 KB, not `dump records'.

PR: docs/4223


# 81eaff02 23-Aug-1997 Steve Price <steve@FreeBSD.org>

Remove the reference to the nonexistant dump(5) manpage.

PR: docs/3704


# 1982ee69 29-Apr-1997 Garrett Wollman <wollman@FreeBSD.org>

Implement Kerberized rcmd for rdump/rrestore. This is lacking the
options one would normally expect to set the realm, enable encryption,
and whatnot, but this actually is able to contact the remote server,
so at least it's a start. (As a bonus, the stripped static binary is
unquestionably exportable.)


# e457979c 14-Mar-1997 Peter Wemm <peter@FreeBSD.org>

Document the -a option in .Fl form instead of .Cm form to be consistant
with the rest of the manpage. (Lite2 documents it in getopt form, Lite1
did it in old-style arg format)


# a37c38b8 10-Mar-1997 Peter Wemm <peter@FreeBSD.org>

Merge Lite2 changes (rather bigish, the dump/restore folks should check)


# 1811bdf3 11-Mar-1997 Peter Wemm <peter@FreeBSD.org>

Import some CSRG 4.4BSD-Lite2 components for sbin onto vendor branch.
(note that some of these have already been imported, this is a no-op)


# c0ec1f37 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 20a842df 09-Feb-1997 Eivind Eklund <eivind@FreeBSD.org>

Removed default setuid and added a comment to the manpage explaining this.


# af00957e 01-Feb-1997 Joerg Wunsch <joerg@FreeBSD.org>

Add the `a' option (``auto-size'') to bypass all tape length
considerations, and dump right to the end of medium.


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# af202156 12-Jan-1997 Wolfram Schneider <wosch@FreeBSD.org>

Sort cross references.


# 4cbb75f4 29-Dec-1996 David E. O'Brien <obrien@FreeBSD.org>

Backing out my change of /etc/rmt -> /usr/sbin/rmt.
Added comments in both files stateing why /etc/rmt is correct so someone
else wont do the same thing again.

Suggested by: Warner Losh & Ollivier


# cbb90fdb 28-Dec-1996 David E. O'Brien <obrien@FreeBSD.org>

rmt is /usr/sbin/rmt, not /etc/rmt which is a link to /usr/sbin/rmt


# 0f778506 22-Aug-1996 Mike Pritchard <mpp@FreeBSD.org>

Use the .At macro where appropriate.


# 019420a5 18-Nov-1995 Joerg Wunsch <joerg@FreeBSD.org>

Andreas Klemm's patch set for dump(8), with some minor (cosmetic)
changes and one addition by me.

. Use reasonable defaults for the tape drive (/dev/rst0) instead of
something we actually don't have.

. Add a summary line displaying the alapsed time and the total throughput.

. Replace "rmt" for the remote location of rmt(8) by "/etc/rmt", since this
is the historical protocol, and relying on the $PATH causes a big pain.
Make it adjustable via an environmental variable though.

Reviewed by: joerg (for Andreas' part)
Submitted by: andreas@knobel.gun.de (Andreas Klemm)


# 41e969f6 15-Jul-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Man page was incorrectly pointing to /etc/dump, it should be /sbin/dump.

Submitted by: faried nawaz <fn@big-brother.csrv.uidaho.edu>


# 681e4fa0 25-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Add pointer to the `ft' command.


# 8fae3551 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite sbin Sources

Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.