Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Restoring an entire backup

Restoring a backup to its original location  Top

Backup:

dump 0f rst0a /vol/vol1/

Restore

restore rfD rst0a /vol/vol1/

This command restores the entire tape file to its original location, in this case /vol/vol1. The tape drive rewinds the tape.

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

Element

Meaning

r

Do a full restore.

f

A tape device is supplied in the command line.

D

The target directory is specified.

rst0a

The restore is done using the rst0a tape device.

Restoring a backup to a different location  Top

Backup:

dump 0f rst0a /vol/vol1/users/tom 

Restore

restore rfD rst0a /vol/vol1/home/tom

This command restores the /vol/vol1/users/tom directory to the /vol/vol1/home/tom directory. The tape drive rewinds the tape.

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

Element

Meaning

r

Do a full restore.

f

A tape device is supplied in the command line.

D

The target directory is specified.

rst0a

The restore is done using the rst0a tape device.

/vol/vol1/home/tom

The restored data is put in the /vol/vol1/home/tom directory.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments