Library Table of Contents Index Previous Next Comments

Examples of the dump command

Backups to multiple tapes

Examples of backups to multiple tapes  Top

This section provides examples of the following kinds of multiple-tape backups:

Multiple tapes on single-tape drives  Top

The following command backs up the /vol/vol1 volume to the tape on
tape drive 0 using rst0a. If the backup exceeds the capacity of the tape, the command writes the second tape file on tape drive 1 using rst1a. Otherwise, it does not use the tape on rst1a.

dump 0f rst0a,rst1a /vol/vol1 

The elements of this command line are described in the following table.

Element

Meaning

0

Do a full backup.

f

A tape device is supplied in the command line.

rst0a

The first tape drive rewinds.

rst1a

The second tape device rewinds.

/vol/vol1

This is the directory to be backed up.

Multiple tapes on a stacker  Top

The following command backs up the /vol/vol1 volume to the tape on urst0a. After the command finishes writing to the first tape drive, it rewinds and unloads the tape. If the volume exceeds the capacity of the tape on urst0a, the command writes the second tape file to the same tape drive on urst0a. If the command needs to write a third tape file, it prompts you to load a new tape.

dump 0f urst0a,urst0a /vol/vol1 

Caution
If you do not use a stacker when you specify an unload/reload device, the tape drive will unload and reload the same tape, overwriting the tape.

The elements of this command line are described in the following table.

Element

Meaning

0

Do a full backup.

f

A tape device is supplied in the command line.

urst0a,urst0a

The tape stacker rewinds and unloads the first tape. If a second tape is needed, it loads the second tape.

/vol/vol1

This is the directory to be backed up.

Library Table of Contents Index Previous Next Comments