History log of /freebsd-10.1-release/sbin/dump/dump.8
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 235837 23-May-2012 joel

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


# 179267 23-May-2008 mckusick

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>


# 162395 18-Sep-2006 ru

Markup fixes.


# 161362 16-Aug-2006 thomas

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


# 155981 24-Feb-2006 keramida

Revert a minor glitch of revision 1.69

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


# 153674 23-Dec-2005 imp

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.


# 148600 31-Jul-2005 ceri

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


# 140604 21-Jan-2005 wes

Forced commit to note:

MFC after: 2 weeks


# 140602 21-Jan-2005 wes

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


# 140415 18-Jan-2005 ru

Sort sections.


# 140368 17-Jan-2005 ru

Added the EXIT STATUS section where appropriate.


# 129327 17-May-2004 ru

Assorted markup, grammar, and spelling fixes.


# 128175 13-Apr-2004 green

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


# 128166 12-Apr-2004 green

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


# 128073 09-Apr-2004 markm

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

Approved by: core, imp


# 124551 15-Jan-2004 alex

Add RSH to the list of enviroment variables.


# 122874 17-Nov-2003 mckusick

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.


# 122140 05-Nov-2003 kensmith

- 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)


# 117533 14-Jul-2003 grog

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


# 116035 08-Jun-2003 charnier

Add section number to .Xr


# 114463 01-May-2003 ru

Removed all vestiges of KerberosIV.


# 114452 01-May-2003 markm

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


# 111287 22-Feb-2003 ru

Sort options.


# 109187 13-Jan-2003 dillon

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


# 109067 10-Jan-2003 sheldonh

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

MFC after: 1 month


# 108221 23-Dec-2002 ru

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

PR: docs/37176


# 107788 12-Dec-2002 ru

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

Approved by: re


# 107559 03-Dec-2002 mckusick

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


# 102464 26-Aug-2002 trhodes

Fix some 'SYNOPSIS' and 'usage' messages.


# 102446 26-Aug-2002 trhodes

Fix Synopsis


# 102231 21-Aug-2002 trhodes

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


# 99501 06-Jul-2002 charnier

The .Nm utility


# 97474 29-May-2002 ru

mdoc(7) police: nits.


# 94911 17-Apr-2002 trhodes

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


# 92334 15-Mar-2002 ru

mdoc(7) police: tiny fixes.


# 91540 01-Mar-2002 iedowse

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


# 90742 16-Feb-2002 iedowse

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

PR: bin/32138
Submitted by: mi


# 90492 10-Feb-2002 dd

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>


# 79762 15-Jul-2001 dd

Sort options in DESCRIPTION.


# 79761 15-Jul-2001 dd

Bump date for addition of -D.


# 79754 15-Jul-2001 dd

Remove whitespace at EOL.


# 79530 10-Jul-2001 ru

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


# 79520 10-Jul-2001 ru

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


# 79442 09-Jul-2001 dillon

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

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


# 74028 09-Mar-2001 obrien

bye-bye documented raw devices


# 73375 03-Mar-2001 obrien

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

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


# 70152 18-Dec-2000 ru

Prepare for mdoc(7)NG.


# 68960 20-Nov-2000 ru

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


# 68575 10-Nov-2000 ru

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


# 60132 07-May-2000 kris

Update device name.


# 57668 01-Mar-2000 sheldonh

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.


# 57660 01-Mar-2000 nik

Remove xrefs to obsolete ft driver.

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


# 56407 22-Jan-2000 mpp

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


# 55760 10-Jan-2000 phantom

Add `.Nm rdump' to NAME section.


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 39559 22-Sep-1998 roberto

Change rst0 into rsa0.


# 36997 15-Jun-1998 charnier

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


# 35911 10-May-1998 steve

Fix minor typo.

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


# 32219 03-Jan-1998 steve

The default dumplevel is 0.

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


# 30568 19-Oct-1997 joerg

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

PR: docs/4785
Submitted by: Matthew Dillon


# 30338 12-Oct-1997 joerg

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

PR: docs/4223


# 28633 23-Aug-1997 steve

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

PR: docs/3704


# 25288 29-Apr-1997 wollman

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.)


# 23892 15-Mar-1997 peter

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)


# 23672 11-Mar-1997 peter

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


# 22990 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 22505 09-Feb-1997 eivind

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


# 22192 01-Feb-1997 joerg

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


# 21673 14-Jan-1997 jkh

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.


# 21635 12-Jan-1997 wosch

Sort cross references.


# 21021 29-Dec-1996 obrien

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


# 20996 28-Dec-1996 obrien

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


# 17787 22-Aug-1996 mpp

Use the .At macro where appropriate.


# 12377 18-Nov-1995 joerg

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)


# 9527 15-Jul-1995 rgrimes

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

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


# 5912 25-Jan-1995 jkh

Add pointer to the `ft' command.


# 1559 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1558,
which included commits to RCS files with non-trunk default branches.


# 1558 26-May-1994 rgrimes

BSD 4.4 Lite sbin Sources

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