Variables
The following keywords serve as parameters, each preceded by a percent sign, that should be added to the script. The variables are then used to read the arguments from within the script.
JOBNAME
The name.
JOBID
The decimal unique ID.
RC
The return code.
JOBLOG
The filename of the main job log.
BACKUPTYPE
BASE: For base backups. INCR: For incremental backups. DIFR: For differential backups.
The following example is based on a Microsoft Windows batch script. Save the following as:
keyword_test.cmd
in the Backup Express\sched\scripts
folder.
Example:
In the task panel, select Other Tasks > Set Source Options > Script Options and in the Pre-job script or Post-job script field, enter:
DPX then substitutes the variable with the value retrieved at runtime and writes the values to the job log file.
Last updated