UBQ000018: Backup Set Format

UBQ ID NumberUBQ000018
Last Modified 2000-06-01

Summary:

 

UltraBac backup sets can be viewed and modified using a text editor.  This article shows the meaning and usage of the syntax in the .UB files.

Details:

The following ASCII file format is an example of a backup set selecting all the files, except 386SPART.PAR, on a network "C" drive using the UNC format for the path:

 

 

%Server's C drive full backup set Set description line
@:WIN32\ Agent - This lists the UltraBac agent to be used
+*.* /R File selection logic - anything that follows a plus sign will be included in the backup
-H:\*.* /R File selection logic - Anything that follows a minus sign will be excluded from the backup
$B!c:\runbeforejob.bat Optional "Before" command line with abort flag set*
$Ac:\runafterjob.cmd Optional "After" command line for set processing
:AgentOption LockedFileBackup=0 Enables the Locked File backup agent when

set to "1"

:AgentOption FreezeAllDrives=0 Instructs the Locked File backup agent to

freeze all drive simultaneously when set 

to "1" 

:AgentOption DisableVss=0 Instructs the Locked File backup agent to use

the UltraBac Locked File backup driver when

set to "1" (Windows 2003/XP only)

:AgentOption RunAgentOnTarget=1 Runs the File-by-File backup agent on the 

system being backed up when set to "1"

:AgentOption EnumReparsePoints=1 Enumerates and backs up all reparse points

when set to "1"

:AgentOption EnumOffline=0 Enumerates and backs up all offline files

when set to "1"

:AgentOption MaintainLastAccessDate=0 Instructs UltraBac to not modify the "last

access date" of all files backed up

:AgentOption DisablePreserveUncLastAccessDate=1
:AgentOption bClearArchiveBit=0 Instructs UltraBac to clear the "Archive bit" file

attribute when set to "1"

:AgentOption UserName=<user> Account to be used for backup by the set 
:AgentOption Domain=<domain> Domain for the specified account
$Ppassword Encrypted password for the specified user

 

NOTE: The $B macro must have a space if the exclamation point is not used. The "$A" macro must NOT contain either an exclamation point OR a space.

 

Additional parameter lines, which may be used for backup set creation, are

 

+* /R /DD

Optional "Beginning of Day", from 00:01AM

+* /R /DW

Optional "Beginning of Week", from Monday

+* /R /DM

Optional "Beginning of Month", from the 1st

+* /R /DN??

Optional "Last ?? Days", ?? must be set 1-99

+* /R /DA

Optional "Select Modified Files", Archive bit set on

 

The order of parameters entered for sets must be observed. A CR/LF delineates each parameter value. The CR/LF (carriage return/line feed). When editing the optional connection name, the "$" following the drive letter sets a default share using the UNC format. Entering the "$" is good practice as a fail safe for making a default share on a network drive. The "!" following the "B" sets the abort flag when the "Before" command fails. A minimum set can exclude any optional parameter line that is not used.

 

EXAMPLE: Select all modified files on a local "C" disk drive from the beginning of the month.

% Backup modified files on "C" drive from beginning of month

@C:\

+* /R /DM

 

EXAMPLE: Minimum backup set definitions to select every file on a local & network "C" drive.

 

Local:

Remote:

%Backup C drive

%Backup Bill's C drive

@C:\

@\\BILLsPC\C$

+*.* /R

+*.* /R

More Information:

See UBQ: UBQ000015 - Backup Group Format

Version UltraBac v8.x
Copyright UltraBac Software 2005