Installation guide

# rdump -0uf machine2:/dev/rmt0h /projects
The dump(8) reference page describes the options to the rdump command.
11.3.5 Using Backup Scripts
You can automate the backup process by using shell scripts. The cron
daemon can execute these shell scripts late in the evening when there is
less chance of the dump commands making errors due to a changing system.
Backup shell scripts often perform the following tasks:
Determine the dump level
Warn the system of the dump
Make a listing of tape contents
Notify the operator upon completion
Some time during the day, load a tape into the tape drive. At the specified
time, the cron daemon runs the backup shell scripts. When the shell
procedures are finished, remove the backup tape and archive it.
Note that backup shell scripts are best used when the dump is small
enough to fit on a single tape. You will need to specify the no-rewind device
and the N option to the dump command to inhibit the tape from
automatically going off line when each dump completes. When dump
reaches the end of the tape, it will take the tape off line and someone will
need to be available to replace the tape.
11.4 Restoring Data
Occasionally, you will have to retrieve files from your backup tapes, and
you will likely need to restore entire file systems at some time. If you have
set up a good backup procedure, then restoring files or full file systems
should be a simple task.
If a serious problem occurs, you may have to restore your entire system.
Before restoring, determine what caused the problem with the system.
After determining the cause of the problem, reinstall your system from the
initial boot tapes. The installation instructions that came with your system
explain this procedure.
Once your system is up and running, restore the system to the state it was
in just prior to the system crash. If you are using AdvFS, use the
vrestore command. Refer to the AdvFS Administration guide for
information on restoring the AdvFS file system. If you are using UFS, use
the restore command to restore data from tapes made with the dump
Administering the Archiving Services 11–15