BackBox H4.00 VTC Scripting Option

Table Of Contents
Script controller
5 BackBox H4.00 VTC Scripting Option
BBBACKUP
BBBACKUP sends the backup request to the controller and waits up to
BBOX_SCRIPT_TIMEOUT for the backup subscript completion.
When the timeout is reached, BBBACKUP issues an EMS message although the
backup request is still being processed by the Script Controller.
The script controller will process the backup requests on a FIFO basis for each queue.
Syntax:
SET BBOX_SCRIPT_TIMEOUT=<number-of-seconds>
SET BBOX_SUBSCRIPT_TIMEOUT=<number-of-seconds>
SET BBOX_SCRIPT_MAX_RETRY=<number-of-retries>
SET BBOX_SCRIPT_RETRY_DELAY=<number-of-minutes>
SET BBOX_SCRIPT_TEMP_DIR=<directory-for-temporary-files>
SET BBOX_SCRIPT_MAX_THREADS=<number-of-concurrent-executors>
SET BBOX_BACKUP_SIZE=<number-of-MB>
SET BBOX_GENERATED_LINE=<Enterprise Backup command>
BBBACKUP <queue-name> <sub-script-file-name>
Example:
SET BBOX_SCRIPT_MAX_RETRY=6
SET BBOX_SCRIPT_RETRY_DELAY=5
SET BBOX_SCRIPT_TEMP_DIR=C:\BBOX_B2PHASE2\script\temp
SET BBOX_SCRIPT_MAX_THREADS=1
BBBACKUP.exe MyQueue C:\BBOX\script\sub_backup.cmd
Parameters:
BBOX_SCRIPT_TIMEOUT
Number of seconds
After this interval, BBBACKUP stops waiting for the completion of the backup
and returns the control to the VTC Emulator.
Default value is 86400 (24 hours)
BBOX_SUBSCRIPT_TIMEOUT
Number of seconds
The Script controller will cancel a sub-script that lasts more than this time.
Default value is 86400 (24 hours)
BBOX_SCRIPT_MAX_RETRY