The ca_scan command source arguments allow you to specify the data to be scanned. You can use these arguments to identify the group, tape, and sessions to be used in your scan operation. You can use the wildcard character * to scan media in all groups.
The ca_scan command includes the following source arguments:
ca_scan
[-group <group name>] [-tape <tape name> [<tape ID>]] [-currenttapeseq] Windows Usage: [-allsessions | -session <session # | session range>] UNIX Usage: [-allsessions | -session <session range>]
Specifies the tape group name to use for the scan job.
If you do not know the name of the group, you can use the wildcard character '*' as in the following example: Group *.
However, when you use the wildcard character, ca_scan will only scan media that corresponds to the first available tape group in the list of groups to be scanned, for example, "Group0."
Specifies the tape to use for the scan job. The tape ID is optional and is used if there are multiple tapes with the same name.
Specifies use of the current tape sequence for the scan job.
Specifies to scan all the sessions of the tape for the scan job.
Specifies to scan a single session or multiple sessions of the tape.
To scan multiple sessions, specify a session range.
Examples:
To scan session 27 of a tape named "MYTAPE" use the following command:
ca_scan -tape MYTAPE -session 27
To scan session 9 through 24 of a tape named "MYTAPE" use the following command:
ca_scan -tape MYTAPE -session 9-24
Copyright © 2016 |
|