INFO: Backup Set Format

UBQ ID Number: UBQ000018

Last Modified: 2000-06-01

SUMMARY:

How to create and modify Backup Sets (.UB files) using a text editor such as Notepad.

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:

     

    %Holly's C drive full backup set

    Set description line

    @\\Holly\C$

    Path, e.g. optional share network connection in UNC format

    ;comment

    Optional comment field

    $B!c:\runbeforejob.bat

    Optional "Before" command line with abort flag set*

    $Ac:\runafterjob.cmd

    Optional "After" command line for set processing

    $Ppassword

    Optional password for Windows for Workgroups workstations

    $#

    encrypted password – Must be specified within UltraBac

    >$LOCAL

    include registry (only for local backup.)

    +*.* /R

    Include line with options, e.g. R = Recursive Subdirectories

    -386SPART.PAR

    Optional exclude line with options

* NOTE that 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

To backup either Microsoft Exchange or SQL, simply replace the path using @:EXCHANGE\ or @:SQL\ and use the logic "+* /R" for the Include line for a full backup or the optional "+* /R /DA" for an incremental based on the select Modified files logic.

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: UBQ000013 – Creating and Editing Sets and Groups Through a Text Editor

See UBQ: UBQ000017 – Backup Set and Restore File Selection Logic

See UBQ: UBQ000015 – Backup Group Format

See UBQ: UBQ000053 – Creating a File-by-File Backup Set

CATEGORIES:

Backup Sets, Setup

VERSION:

2.x to 5.x

Copyright UltraBac.com 1999-2001