BackBox H4.00 VTC Scripting Option

Table Of Contents
Detailed description
3 BackBox H4.00 VTC Scripting Option
Post-Restore script
The main purpose of this script, deleting backed-up files, is obsolete. This
functionality is better handled by the macro BB023_DEL_BACKEDUP (see OBB017
obey file), controlled by the ‘Delete backed-up files’ parameters in the Volume
groups.
This script is still kept for compatibility purpose.
This script is called at unload time, only when the Restore script has been executed
to satisfy the load request for a NonStop application requesting a tape volume for
input.
The user might choose to enable this script to systematically delete restored files at
unload time.
In addition to the named parameters set in the Windows process context (see later
in this section), the Restore script receives these two named parameters that can
contain the restored Windows disk files:
%BBOX_RESTORED_IND%
%BBOX_RESTORED_DAT%
If the variable is not null, the file named in the variable was restored at load time,
was not modified, and can be deleted.
Delete script
The delete script is executed when a virtual volume is deleted using the BackPak
user interface.
The two Windows disk files, if they exist, are deleted by the VTC. The script should
be written to free resources in the Enterprise backup software used to archive the
Windows files.
Positional parameters
In addition to the named parameters set in the Windows process context, the Delete
script receives two positional parameters set with the name of disk files of the virtual
volume to be deleted.
%1 contains the fully qualified file name of the index (file type
.IND).
%2 contains the fully qualified file name of the data (file type .DAT).
The content of the positional parameters is also available in these named
parameters:
%BBOX_FILE_IND%
%BBOX_FILE_DAT%
The best cleanup is achieved by deleting all the potential archives saved from any
path of the Data Store configuration.