BackBox H4.00 VTC Scripting Option
Table Of Contents
- Table of Contents
- Introduction
- Scripts in VTCs
- Script execution cases
- Enabling or not the Script controller
- Overview of script implementation
- Guidelines
- Script settings in the BackPak UI
- Detailed description
- Script controller

Script controller
4 BackBox H4.00 VTC Scripting Option
When the parameter BBOX_GENERATED_LINE is present, the temporary file contains
an Enterprise Backup command per file to process. This file is to be used as standard
input of the Enterprise Backup client in the subscript.
When the subscript ends, the script manager accesses all the files processed in the
subscript. The file existence and Archive bit setting tell if the file was processed
correctly. Files not processed are kept in queue on a file-per-file basis for retry.
The script controller sends messages to NonStop EMS to report execution of
subscripts, statistics and retries status.
The script controller runs as a Windows service automatically started by BBBACKUP
or BBRESTORE program, unless the service is disabled in Windows Services
All parameters specific to the Script Controller are provided as parameters of the
BBBACKUP or BBRESTORE command. The value of global parameters is set by the
last startup of BBBACKUP/BBESTORE.
Sample of Backup script (File-list version):
SET BBOX_SCRIPT_MAX_RETRY=6
SET BBOX_SCRIPT_RETRY_DELAY=5
SET BBOX_SCRIPT_TEMP_DIR= C:\Bbox\script\temp
BBBACKUP QUEUE_1 C:\Bbox\script\tsm_archive.cmd
Corresponding subscript "C:\Bbox\script\tsm_archive.cmd":
DSMC ARCHIVE –DELETEFILES -FILELIST=%BBOX_FILELIST%
Sample of Backup script (standard-input-file version):
SET BBOX_SCRIPT_MAX_RETRY=6
SET BBOX_SCRIPT_RETRY_DELAY=5
SET BBOX_SCRIPT_TEMP_DIR= C:\Bbox\script\temp
SET BBOX_GENERATED_LINE=retrieve -replace=all #file# %BBOX_NEW_DIR%
BBRESTORE QUEUE_2 C:\Bbox\script\tsm_restore.cmd
Corresponding subscript "C:\Bbox\script\tsm_restore.cmd":
DSMC MACRO %BBOX_FILELIST% <%BBOX_SCRIPT_DIR%\abort_reply.txt










