BACKUP
Section: Maintenance Commands (8)
Index
Return to Main Contents
NAME
backup - perform tape backups
SYNOPSIS
backup
[ options ] [ date ]
DESCRIPTION
backup
reads the file
/etc/backup_dates
and runs
dump(8)
to backup the specified filesystems. If no
date
is given, the current date is used.
The
backup_dates
file consists of lines of 6 fields each. The fields are separated by spaces
of tabs. The fields specify the day of the week (Sun-Sat), the week of the
month (1-5), the month (Jan-Dec), the dump level to perform (0-9), the
filesystem, and an arbitrary message to be delivered to the operator upon
completion of the dump. Each of these fields may contain a range or
a comma-separated list, or an asterisk meaning all legal values.
Options for
backup
are:
- -m
-
Run
backup
in multiuser mode. Usually backup will kill any forground processes
and suspend any background processes so that the filesystems will be
guaranteed to be quiescent. When run in multiuser mode, no action
is taken to insure that there is no filesystem activity.
- -bblocksize
-
Sets the tape blocking factor to
blocksize.
The default is 32.
- -stapelength
-
Sets the assumed length of the tape to
tapelength.
This defines how many blocks are written to each tape. The default is
2300 feet.
- -ddensity
-
Sets the tape density to
density.
This is normally 6250 BPI.
- -tdevice
-
Sets the device to use to
device.
This is /dev/rmt9 on our systems which corresponds to the TU78 tape drives
at 6250 BPI.
- -ffile
-
Causes backup to read the filesystem dump schedule from the file
file
instead of from /etc/backup_dates.
- -wminutes
-
Sets the warning time to give users when running in single-user mode.
BACKUP_DATES Example
# Backup schedule for Genie - Genentech, Inc.
# Daily level 9's
Tue-Fri * * 9 /va "/va dump complete"
# Monday dumps - level 1's
Mon 2-5 * 1 / "root dump complete"
Mon 2,3,4,5 * 1 /va "/va dump complete"
# Monthly level 0's
Mon 1 * 0 / "root dump complete"
Mon 1 * 0 /va "/va dump complete"
AUTHOR
Scooter Morris - Genentech, Inc.
SEE ALSO
dump(8), shutdown(8), backup_dates(5)
BUGS
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- BACKUP_DATES Example
-
- AUTHOR
-
- SEE ALSO
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 06:41:26 GMT, December 12, 2024