Library Table of Contents Index Previous Next Comments

Using the dump command

Specifying the dump path

What the dump path does  Top

The dump path specifies one volume, qtree, or subtree to back up. A subtree is a directory in a volume or qtree.

Ways of specifying a dump path  Top

You can specify a dump path in the following ways:

Specifying a single path name  Top

You can simply specify a volume, qtree, or subtree to back up all the data in it. The volume, qtree, or subtree can be in either of the following locations:

To specify a single dump path, complete the following step.

Step

Action

1

Put the path name of the volume, qtree, or subtree that you want to back up at the end of the dump command.

Example

The following command contains the dump path /vol/vol0:

Using a qtree batch file  Top

You can back up several qtrees from a volume with the same command by using a qtree batch file. Using a qtree batch file involves creating the batch file, then specifying it as part of the dump command.

Creating a qtree batch file  Top

To create a qtree batch file, complete the following steps.

Step

Action

1

Create a file anywhere in a volume that contains qtrees that you want to back up.

2

Add to the file the name of each qtree that you want to back up, one qtree name to a line. The following rules apply to the batch file:

  • The qtrees must all be in the same volume as the batch file.
  • You can have up to 255 qtree names in the file.
  • There must be no blank lines in the file.

    Note
    Leading and trailing spaces are treated as part of the qtree name.

Example

The following misc/files/qtreefile qtree batch file in the /vol/vol0 volume backs up the qtrees /vol/vol0/qtree1, /vol/vol0/qtree2, and /vol/vol0/qtree3:

qtree1
qtree2
qtree3

Specifying a qtree batch file  Top

To specify a qtree batch file, complete the following step.

Step

Action

1

Put the path name of the qtree batch file at the end of the dump command.

Example

The following command backs up the qtrees named in the misc/files/qtreefile batch file in the /vol/vol0 volume:

Library Table of Contents Index Previous Next Comments