UBQ ID Number: UBQ000035
Last Modified: 2000-06-05 at 10:43:19
SUMMARY:
The following before/after job "macros" are simple text substitution. Some macros can be used with any of the before/after - set/group job combinations. However, some have a more restricted use (e.g. only with a "before set" job or only with "after set" or "after group" jobs). Not all macros apply to each type. They are NOT case-sensitive.
DETAILS:
|
MACRO |
MEANING |
|
|
Available for all combination: |
|
$g$ |
Group filename (e.g. "testjob.ubb") no path included. Use the UBDATA share if necessary to access the file. |
|
|
|
|
|
Available for group before/after, set before: |
|
$S$ |
Set filename (e.g. "job.ub") no path included. Use the UBDATA share if necessary to access the file. |
|
$T$ |
Tape label name (e.g. "UltraBac Storage Media"). |
|
$N$ |
Tape volume sequence #, starting from 1. For autoloaders this represents the slot #. (e.g. "1") |
|
$L$ |
Full path/filename to the backup log file. (e.g. "c:\ultrabac\logs\bk980122.000") |
|
$D$ |
Device number used currently. 0-99 represents tape devices, 100+ represents disk devices. (e.g. "100") |
|
|
|
|
|
Available for group after, set after: |
|
$SF$ |
Number of files skipped during the backup. (e.g. "1") |
|
$IF$ |
Number of files backed up "in-use". (e.g. "10") |
|
|
|
|
|
Available for group after only: |
|
$V$ |
Full path/filename to the verify log file. (e.g. "c:\ultrabac\logs\vy980122.000") |
|
$EV$ |
Number of verification errors encountered. (e.g. "0") |
|
$SE$ |
Number of sets in error (e.g. skipped, or unavailable e.g. "0") |
|
$ST$ |
Status of backup. If the group is aborted because of a serious error such as a tape drive malfunction, or device unavailable this will be set to "1", otherwise "0" indicates a normal condition. |
Example: To print backup and verify logs after the backup and verify are complete, type:
"print /D:\\<computername>\<printsharename> $L$ $V$" in the "after job".
A sample of what might actually appear in the after job text box is:
print /D:\\SALES1\Print $L$ $V$
Which UltraBac might interpret as:
print /D:\\SALES1\Print c:\ultrabac\logs\bk980122.000 c:\ultrabac\logs\vy980122.000
MORE INFORMATION:
See UBQ: UBQ000013 – Creating and Editing Sets and Groups Through a Text Editor
See UBQ: UBQ000015 – Backup Group Format
See UBQ: UBQ000016 – Before/After Backup Option Syntax
See UBQ: UBQ000018 – Backup Set Format
CATEGORIES:
Backup Groups, Backup Sets, Before/After Commands, Scheduler, Setup
VERSION:
5.x-6.x
Copyright UltraBac.com 1999-2001