- Sun Storage Virtual Tape Library VTL User Guide
Import/Export
96267 • G Appendix A VTL command line reference 197
‐M(‐‐import‐mode)isanoptioninoneofthefollowingvalues:copy(default)or
direct‐accessorrecycle.
‐v(‐‐pdrive‐or‐pdrive‐vid)isrequiredtospecifythevirtualdeviceIDofthephysical
tapelibraryorphysicaltapedrivefromwhichthe physicaltapeis to
beimported.
Ifthephysicaltapeisfromaphysicaltapelibrary,either<barcode>or<slot‐no>of
thephysicaltapeshouldbesp ec if ie dwith‐B(‐‐barcode) or‐l(‐‐slot‐no)toidentify
thephy si c al tape.Ifthebarcodecontai ns lead in gortrailingspacecharacters,itmust
beenclosed
indoublequotes. Nophysicaltapeinformationisrequiredif the
physicaltapeisimportedfromastandalonephy si c al tapedrive.
‐L(‐‐tape‐library‐vid)isthevirtualdeviceIDofthevirtualtapelibrar ytowhichthe
physicaltapeistobeimported.
‐t(‐‐virtual‐tape‐sl ot‐
no)isrequiredforthevirtualtapelocation.
‐b(‐‐virtual‐tape‐barcod e)isoptionalwhenthe phy si c al tapefromaphysicaltape
librarycontai nsbarcode.Itisrequiredifthephysicaltapedoes nothaveabarcode
orwhenitisfromaphysicaltapedrive.
‐j(‐‐job‐description)
isan optiontospecifyadescriptionforthetapeimportjob.
‐k(‐‐key‐name)and‐W(‐‐ke y‐password)areoptionsfortapeencryptionsupport.If
thetapetobeimportedwasencryptedthroughthesystem,you ne edtospecifythe
keynameandthekeypasswordof
theencryptionkeytodecryptthe dataonthe
importedtape.
‐X(‐‐rpc‐timeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountoftime
specifiedif theserverdoesnotrespond.The
defaultRPCtimeoutis300seconds.
Exportvirtualtape
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>]