Library Table of Contents Index Previous Next Comments

Examples of the dump command

Level-0 backups to a local tape drive

Examples of level-0 backups  Top

This section provides examples of the following kinds of level-0 backups:

Full backup  Top

The following command performs a full backup of the /vol/vol1/users/tom/specs directory. After the dump command is finished, the tape drive rewinds the tape.

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

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 tape drive rewinds.

/vol/vol1/users/tom/specs

This is the directory to be backed up.

Full backup with a record  Top

The following command performs a full backup of the /vol/vol1/users/tom directory and records the backup in the /etc/dumpdates file. The tape drive rewinds the tape.

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

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

Element

Meaning

0

Do a full backup.

u

Record the backup in the /etc/dumpdates file.

f

A tape device is supplied in the command line.

rst0a

The tape drive rewinds.

/vol/vol1/users/tom

This is the directory to be backed up.

Full backup minus qtrees  Top

The following command performs a full backup of all non-qtree data in the /vol/vol1 volume. The tape drive rewinds the tape.

dump 0fQ rst0a /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.

Q

Do not back up data that is in a qtree.

rst0a

The tape drive rewinds.

/vol/vol1

This is the volume to be backed up.

Library Table of Contents Index Previous Next Comments