.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: dump.8.in,v 1.3 1999/10/13 09:57:19 stelian Exp $
+.\" $Id: dump.8.in,v 1.6 1999/12/05 18:54:23 tiniou Exp $
.\"
.Dd __DATE__
.Dt DUMP 8
.Nd ext2 filesystem backup
.Sh SYNOPSIS
.Nm dump
-.Op Fl 0123456789acknu
+.Op Fl 0123456789ackMnSu
.Op Fl B Ar records
.Op Fl b Ar blocksize
.Op Fl d Ar density
.Op Fl T Ar date
.Ar filesystem
.Nm dump
-.Op Fl 0123456789acknu
+.Op Fl 0123456789ackMnSu
.Op Fl B Ar records
.Op Fl b Ar blocksize
.Op Fl d Ar density
to be at most LBLSIZE (currently 16) characters, which must include
the terminating
.Ql \e0 .
+.It Fl M
+Enable the multi-volume feature. The name specified with
+.Fl f
+is treated as a prefix and
+.Nm
+writes in sequence to <prefix>001, <prefix>002 etc. This can be
+useful when dumping to files on an ext2 partition, in order to bypass
+the 2GB file size limitation.
.It Fl n
Whenever
.Nm
It is recommended to be a bit conservative on this option.
The default tape length is 2300 feet.
.ne 1i
+.It Fl S
+Size estimate. Determine the amount of space
+that is needed to perform the dump without
+actually doing it, and display the estimated
+number of blocks it will take. This is useful
+with incremental dumps to determine how many
+volumes of media will be needed.
.It Fl T Ar date
Use the specified date as the starting time for the dump
instead of the time determined from looking in
will be used to determine the pathname of the remote
.Xr rmt 8
program.
+.It Ev RSH
+.Nm Dump
+uses the contents of this variable to determine the name of the
+remote shell command to use when doing remote backups (rsh, ssh etc.).
+If this variable is not set,
+.Xr rcmd 3
+will be used, but only root will be able to do remote backups.
.Sh FILES
.Bl -tag -width __DUMPDATES__ -compact
.It Pa /dev/st0
.Pp
.Nm Dump
cannot do remote backups without being run as root, due to its
-security history. This will be fixed in a later version of
-.Bx Free .
+security history.
Presently, it works if you set it setuid (like it used to be), but this
-might constitute a security risk.
+might constitute a security risk. Note that you can set RSH to use
+a remote shell program instead.
.Sh AUTHOR
The
.Nm dump/restore