UltraBac has the ability to launch scripts or batch files before a backup set runs and after the backup set completes. This can be used to create and run customized scripts to stop the services of a relational database before the backup begins, or run any other commands that can be issued in a scripted format.
Before/After commands are inserted in the set after the set has been “enumerated” by the Backup Wizard, in the "Set Properties":
Create or open a backup set.
Click "Action"/"View Backup Set Properties."
Select the Before/After Jobs tab.
Browse to or enter in the path to the script(s) to be run during, before, or after the set is backed up.
Click "OK" to save.
Fig. 1 - Before/After Jobs tab in the Set Properties.
NOTE: Before/After Jobs are only executed when the set is run as part of a scheduled backup. |
Open the properties of a scheduled backup.
Select the Options tab.
Check the box before the "Run Before job" or "Run After job" fields to enable the appropriate type of job.
Browse to or enter in the path to the script(s) to be run during, before, or after the scheduled job in the appropriate field.
Click "OK" to save.
Fig. 2 - Options tab in the properties of a scheduled backup.
NOTE: For more information on creating or editing a scheduled backup, please visit the "Scheduled Backup Creation" section of the User Manual:
|