Product & Version: NetVault All
OS Version: All
Module & Version: all
Application version: All
After completion of a backup job the customer would like the tape to be automatically sent to the Entry Exit Port of the Library once the tape has been unloaded back to it's slot.
An nvexportmedia command can be put into a postscript saved in the netvault/scripts directory and specifed in the postscript field in Advanced Options of the job. The syntax of the command is as follows:
nvexportmedia [-servername <server name>]
[-barcode <barcode> | -medialabel <medial label> |
-slotspec <library name::slot number>]
It is necessary to know the barcode/media label or homeslot of the tape in question meaning that the same media must always be used for the job if this is to be automated.
Full details of the arguments for this command are:
-servername: The NVBU Machine Name of the NVBU Server or
Heterogeneous Client to which the target backup device is locally attached. If the device is locally attached to a NVBU Heterogeneous Client (i.e., a NVBU SmartClient), this switch must be used to name that Heterogeneous Client. In the event that the device is attached to the local instance of the NVBU Server, this switch can be left out. The NVBU Machine Name is case sensitive.
-barcode: This switch followed by the barcode number of the desired media.
-medialabel: This switch followed by the media label of the desired media (use only when searching by media label). If a media label contains spaces, enclose it within quotes (" "). For example, "my media 1".
-slotspec: This switch followed by the library name and slot number of the desired media. These two values must be separated using a double colon delimiter (e.g., '::'). Use this switch only when searching by library slot.
-wait: This switch can be added to tell NVBU to wait until this task has
completed before moving forward.