Import/Export

‐M (‐‐import‐mode) is an option in one of the following values: copy (default) or direct‐access or recycle.

‐v (‐‐pdrive‐or‐pdrive‐vid) is required to specify the virtual device ID of the physical tape library or physical tape drive from which the physical tape is to be imported.

If the physical tape is from a physical tape library, either <barcode> or <slot‐no> of the physical tape should be specified with ‐B (‐‐barcode) or ‐l (‐‐slot‐no) to identify the physical tape. If the barcode contains leading or trailing space characters, it must be enclosed in double quotes. No physical tape information is required if the physical tape is imported from a standalone physical tape drive.

‐L (‐‐tape‐library‐vid) is the virtual device ID of the virtual tape library to which the physical tape is to be imported.

‐t (‐‐virtual‐tape‐slot‐no) is required for the virtual tape location.

‐b (‐‐virtual‐tape‐barcode) is optional when the physical tape from a physical tape library contains barcode. It is required if the physical tape does not have a barcode or when it is from a physical tape drive.

‐j (‐‐job‐description) is an option to specify a description for the tape import job.

‐k (‐‐key‐name) and ‐W (‐‐key‐password) are options for tape encryption support. If the tape to be imported was encrypted through the system, you need to specify the key name and the key password of the encryption key to decrypt the data on the imported tape.

‐X (‐‐rpc‐timeout) is an option to specify a number between 1 and 30000 in seconds for the RPC timeout. The system will retry the command for the amount of time specified if the server does not respond. The default RPC timeout is 300 seconds.

Export virtual tape

iscon exportvirtualtape -s <server-name> [-u <username> -p <password>] -v <vdevid>

-L <tape-library-vid> -b -B <barcode> -l <slot-no>

[-M <export-mode> [-Y <days>] ] [-j <job-description>] [-f] [-J]

[-k <key-name> -W <key-password>] [-Z <on> -Q <num-of-copies>] [-X <rpc- timeout>]

iscon exportvirtualtape --server-name=<server-name>

[--server-username=<username> --server-password=<password>] --vdevid=<vdevid> --tape-library-vid=<tape-library-vid> --same-barcode --barcode=<barcode> --slot-no=<slot-no> [--export-mode=<export-mode>] [--delay-delete-days=<days>] ] [--job-description=<job-description>] [--force] [--auto-eject-to-ie] [--key-name=<key-name> --key-pasword=<key-password>] [--tape-duplication=<on> --num-of-copies=<num-of-copies>] [--rpc- timeout=<rpc-timeout>]

96267 • G

Appendix A VTL command line reference 197

Page 211
Image 211
Sun Microsystems Virtual Tape Library manual Export virtual tape