You can test a restore by performing a restore that reads the tape, but does not write to the storage system.
Considerations
You can do a test restore in the following situations:
- To verify a backup tape that is old and might have deteriorated
- To verify that the set of tapes you have is complete
- To verify a backup tape that you believe was not written properly
- To quickly ensure that a block size works, if the block size is unknown
Note: Because a test restore depends on the speed of reading from tape, it takes almost the same time as an actual restore.
Step
- To specify a test restore, include the N option in the restore command line.
Note: This option does not take a parameter.
Example
The following command performs a test restore of a backup:
restore rfN rst0a
The elements of this command line are described in the following table.
| Element
|
Description
|
| r
|
Performs a full restore. |
| f
|
Indicates that a tape device is supplied in the command line. |
| N
|
Specifies a test restore. |
| rst0a
|
The tape device. |