You can display a table of contents of the files or qtrees in a tape file rather than do an actual data restore. This is useful in determining what files or qtrees are on a tape and their locations. For qtrees, the restore lists qtree properties.
A table-of-contents restore takes much less time than a full restore because only the list of files in the backup is read. However, it uses a lot of CPU time because of the extensive output produced.
In general, you should run a table-of-contents restore from a Remote Shell connection because an enormous output is generated. Usually, you can control the output more easily when it is sent to a client console rather than to the filer console. Client consoles are also more flexible and enable you to save output.
Furthermore, you rarely need to change tapes with the t option. The command needs to read only the directory information from the tape and none of the files or qtrees. Because directory information tends to constitute a small part of a backup, it is almost always located on one tape. Also, table-of-contents restores work with multiple tape files specified on the command line.
You can specify two kinds of tables of contents: file and qtree. You cannot combine the two types in a single command.
To specify a table-of-contents restore, complete the following step.
| 1 | Use the T or t option in the restore command line, with files as an argument. If there is no argument, the entire content of a backup is listed. |
The following command lists all files in a backup:
The following command lists all qtree names in a backup:
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00325
File: recove13.htm
Last updated: 01/14/03 17:51:34