BackBox H4.00 VTC Scripting Option

Table Of Contents
Introduction
9 BackBox H4.00 VTC Scripting Option
Installing the Enterprise Backup client
There is normally a backup software client to install, in all VTCs that are route to the
Data Store to configure with scripts.
The software must:
- be able to save and restore files named by UNC (\\svr\share\dir...\file.ext)
- provide a command line interface to use in Windows scripts
It is highly preferable the software is also able to:
- reset the Archive bit in the file system when the file has been saved
- restore in a different VTC from the VTC that held the original file, and
different from the VTC that executed the Backup script if any.
Location and security of the script files
The script files must be present on the same local disk location in all VTCs that are
route to the Data Store to configure with scripts.
The distributed sample scripts are installed in
C:\ProgramData\ETINET\VTC\Samples\Script.
These can be used as starting point and copied to the location where they will be
updated and executed.
For “TSM” (Tivoli Storage Management) or for “WinFile” (simple COPY file command)
the sample can be used without any modification.
In this case, the Data Store can be configured to run directly the samples in
C:\ProgramData\ETINET\VTC\Samples\Script.
The directory containing the scripts must be authorized in full access to all Windows
accounts that will execute the scripts. This includes the account configured in the
Data Store GUI page to access the storage. The VTC executes a Windows login with
this account to run the script.
Distributed samples
Sample scripts are provided in the BackBox installation directory “C:\Program
Files\ETINET\Virtual Tape Controller\script” Simple examples are provided for
common enterprise backup software.
Basic script sample
The following example illustrates a very primitive backup script using the VERITAS
NetBackup’s command line.