- Sun Storage Virtual Tape Library VTL User Guide

Import/Export
96267 • G Appendix A VTL command line reference 197
M(‐‐importmode)isanoptioninoneofthefollowingvalues:copy(default)or
directaccessorrecycle.
v(‐‐pdriveorpdrivevid)isrequiredtospecifythevirtualdeviceIDofthephysical
tapelibraryorphysicaltapedrivefromwhichthe physicaltapeis to
beimported.
Ifthephysicaltapeisfromaphysicaltapelibrary,either<barcode>or<slotno>of
thephysicaltapeshouldbesp ec if ie dwith‐B(‐‐barcode) or‐l(‐‐slotno)toidentify
thephy si c al tape.Ifthebarcodecontai ns lead in gortrailingspacecharacters,itmust
beenclosed
indoublequotes. Nophysicaltapeinformationisrequiredif the
physicaltapeisimportedfromastandalonephy si c al tapedrive.
L(‐‐tapelibraryvid)isthevirtualdeviceIDofthevirtualtapelibrar ytowhichthe
physicaltapeistobeimported.
t(‐‐virtualtapesl ot
no)isrequiredforthevirtualtapelocation.
b(‐‐virtualtapebarcod e)isoptionalwhenthe phy si c al tapefromaphysicaltape
librarycontai nsbarcode.Itisrequiredifthephysicaltapedoes nothaveabarcode
orwhenitisfromaphysicaltapedrive.
j(‐‐jobdescription)
isan optiontospecifyadescriptionforthetapeimportjob.
k(‐‐keyname)and‐W(‐‐ke ypassword)areoptionsfortapeencryptionsupport.If
thetapetobeimportedwasencryptedthroughthesystem,you ne edtospecifythe
keynameandthekeypasswordof
theencryptionkeytodecryptthe dataonthe
importedtape.
X(‐‐rpctimeout)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>]