Virtual TapeServer 6.04.03 Operations and Administration Guide
112 | Migrating Data to Physical Tape
For example, to migrate the virtual tape named CART01 on the VTS1 server and erase the
selected files from VTS, issue the following command:
VTSPolicy NBP '/VAULT01/POOLA/CART01 s=VTS1 erase=YES'
The VTSPolicy command for CommVault Galaxy
Here is the syntax of the VTSPolicy command for use with CommVault Galaxy. Note that all
parameters specified for the command are case-sensitive.
VTSPolicy CMV 'q_full /VAULTxx/pool/cartridge [s=VTSserver]'
where
/VAULTxx/pool/cartridge
Specifies the pool and cartridge on which to operate. If you want to migrate an entire
pool, specify /VAULTxx/pool only.
s=VTSserver
Specifies the fully-qualified hostname of the VTS system on which the specified pool
resides. In a VTS cluster, this keyword specifies the VTS server that will execute the
command. This keyword is required in a VTS cluster.
For example, to migrate the virtual tape named CART01 on the VTS1 server, issue the
following command:
VTSPolicy CMV 'q_full /VAULT01/POOLA/CART01 s=VTS1'
FUP utility call
A simple FUP utility call can copy the contents of a text file to the $0 process.
1. Create a text file named TEXT1 on the NonStop server. Add the VTSPolicy command to
the file. Here is an example that uses Tivoli Storage Manager to migrate a virtual tape
named cart1. The virtual tape resides in the VAULT01 vault and the PoolA pool:
VTSPolicy TSM 'archive /VAULT01/PoolA/cart1 s=VTS1 o=/tape/opt1
erase=YES'
2. From Batchcom or in an existing backup script, run the following command:
FUP COPY TEXT1, $0
This sends the contents of the TEXT1 file to the EMS collector.
TACL macro in obey script
On the NonStop server, you can create an obey script that includes a TACL macro that
communicates with the VTS server through EMS. In the script file, add the commands
specified below. To initiate the script, run the script using the obey command, add the lines to
the end of an existing script, or schedule the script to run from Batchcom.
Set the EMS collector to the collector named in the EMS configuration settings of VTS:
#SET collector $0
Specify the event number:
#SET evt_num 1234