ENCORE1
UTERMINAL
TERMINAL
NEXT
$V1$
PAUSE
ENCORE5
ENCORE
BOX
COMMAND
GO
backup
dump
SYNTAX
backup [option [arguments] file system]
backup [option [arguments] file system]
/etc/dump [options [device name] file system]
FUNCTION
backup is the main UNIX backup
backup is the main UNIX backup
/etc/dump is the main UNIX backup utility.
It provides the capability for making copies of all files
changed after a certain date in the file system.
The option specifies the date, dump level, tape
density, length of tape, and other relevant information.
The files copied with backup may
The files copied with /etc/dump may only
be restored using the utility restore.
The importance of backups grows with
the number of users on the system.
backup provides you with the capability
/etc/dump provides you with the capability
to backup all the files on your system
or just a single file system.
This program also allows you to specify the
backup level, i.e., to back up all of the
files modified since the last date specified
in the file /etc/ddate.
in the file /etc/ddate.
in the file /etc/dumpdates.
Let us look at some of the options.
OPTIONS:
f dumpfile - indicates that a backup will be placed in the
named dumpfile, rather than on the default device.
0-9 - specifies the backup level, where
0 = full backup and
9 = the smallest incremental backup
u - causes the date of the successful
(hopefully current) backup to be written
to the file /etc/ddate.
to the file /etc/dumpdates.
k size - specifies the size of the block structured
volume (such as a diskette ), e.g., 1200
for the high density drive on the IBM PC/AT.
b factor - specifies the blocking factor; the default
is 10 blocks per record
d bpi - specifies the tape density in bits per inch;
the default is 1600 bpi
s size - specifies the size of the tape in feet
c - specifies data cartridge with 1/4 inch tape instead of
the standard half inch reel
w - list all the file systems that need backing up, from
/etc/dumpdates and /etc/fstab
W - same as w plus information about most recent
dump dates and their levels
Let us look at some examples using the backup command.
Let us look at some examples using the /etc/dump command.
The command to backup the entire file system
/dev/u to the volume on the device
/dev/rfd0, and append the date of the
backup to the file /etc/ddate is:
backup 0ufk /dev/rfd0 1200 /dev/u
The command to backup the entire file system
/dev/rxy0g to the volume on the device
/dev/rst0, and include the date of the
backup written to the file /etc/dumpdates is:
/etc/dump 0ucf /dev/rst0 /dev/rxy0g
The command to make a level 5 backup of the
default file system as specified in the file
/etc/default/backup to the default backup
device which is also specified in the same
file is:
backup 5u
See the command description for more detailed
information on the meaning of the backup
levels and how to backup to magnetic tapes.
Let us use the backup command.
Let us use the /etc/dump command.
The command to make a level 4 backup
of the file system /dev/usr onto
the device /dev/rfd1 with the volume
size of 320 kilobytes is:
The command to make a level 4 backup
of the file system /dev/rxy0e on
the device /dev/rmt0 with 126 blocks
per record is:
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type backup 4ufk /dev/rfd1 320 /dev/usr
Please type backup 4ufk /dev/rfd1 320 /dev/usr
Please type /etc/dump 4ucbf /dev/rmt0 126 /dev/rxy0e
Please type /etc/dump 4ucbf /dev/rmt0 126 /dev/rxy0e
I will help you this time.
$PROMPT$
FORGET1
$PROMPT$backup 4ufk /dev/rfd1 320 /dev/usr
$PROMPT$/etc/dump 4ucbf /dev/rmt0 126 /dev/rxy0e
Observe the result on the terminal.
I
II
estimated 1195K on 4 volumes
III
Please insert new volume, and press <CR>
In your future backups, you will have similar
responses. The data in the backup archive
can be restored, i.e., read back, using the
complement utility restore.