Using VBScript you can schedule multiple backups or images and run them one after the other. This enables guaranteed execution sequence and additional functionality can be coded between backups and/or at the end of the sequence.
To create a VBScript to run backups sequentially
- Step through the backup or image wizard and create the required XML backup definitions files.
- In the Backup Definition Files tab, right-click a backup definition file and choose Generate a VB Script File from the short-cut menu.
The VBScript generation dialog box appears.
- Leave the options as defaults but change the file name for clarity.
- Select the Scripts tab, right-click the new file and select Edit from the shortcut menu.
The VBScript file opens in the system default text editor, generally, this is Notepad.
- For clarity, switch off word wrap. In notepad, choose Edit > Word Wrap.
Find the line of code that starts the backup and copy and paste it once for each backup or image you want to run.
The line looks like this:
For each copy of the line change the xml file name to represent the backup you want to run. For example:
- Save the file.