Installation guide
On Tuesday, perform a level 1 dump:
# dump -1u /usr
The level 1 dump backs up all the files that changed since Monday. On
Wednesday through Friday you perform a level 9 dump (which always
backs up all the files that have changed since Tuesday’s level 1 dump):
# dump -9u /usr
To perform the same level 9 dump to the tape device named /dev/rmt1h
instead of the default tape device, use the −f option as shown in the
following example:
# dump -9uf /dev/rmt1h /usr
The argument to the −f option specifies a tape device local to the system
from which you are performing the dumps.
11.3.4 Performing a Remote Backup
Some machines in a networked system environment might lack a local tape
drive that you can use for making backup tapes. You can use the rdump
command to make backups on a remotely located tape device. The rdump
command is identical to the dump command except that it requires the −f
option to specify the machine name and an attached backup device. The
rdump command has the following command syntax:
rdump -f machine:device options filesystem
The
machine
parameter specifies the name of the remote machine that has
the backup device and
device
specifies the name of the backup device on
that remote machine. The colon (:) between the
machine
and
device
parameters is necessary just as in other network file-addressing
mechanisms.
The
options
parameter refers to the same list of flags available with the
dump command.
The
filesystem
parameter refers to the local file system to be backed up.
The rdump command updates the /etc/dumpdates file on the local
machine in the same way as does the dump command. The rdump command
starts a remote server, /usr/sbin/rmt, on the remote machine to access
the storage medium. This server process should be transparent. Refer to
the rmt
(8) reference page for more information.
To back up the /projects file system from machine1 onto a tape drive on
machine2 with the attached backup device /dev/rmt0h, enter the
following command from machine1. The name of machine1 must be in the
/.rhosts file of machine2 to allow access from machine1 to machine2.
11–14 Administering the Archiving Services