
16.2 Scripting
16.2.1 Script execution parameters
Scripts are executed by the TrueImageTerminal.exe utility located in the Acronis True
Image for Microsoft Small Business Server installation folder (i.e. C:\Program
Files\Acronis\TrueImageEchoEnterpriseServer). This utility is also used to monitor backup
progress.
TrueImageTerminal execution parameters:
TrueImageTerminal.exe [arguments]
Arguments include the following:
/help – outputs help information about TrueImageTerminal.exe parameters.
/progress – outputs progress of backup operations run either from Acronis True Image
for Microsoft Small Business Server graphics user interface, or from the script.
/execute: [script file name] – executes a script. If there are several scripts to be
executed, they are queued. An example for executing MyBackup.tis script:
TrueImageTerminal.exe /execute:C:\MyBackup.tis
/nowait – an optional script execution argument. Enables to terminate
TrueImageTerminal before backup is finished. Example:
TrueImageTerminal /execute:C:\MyBackup.tis /nowait
By pressing Ctrl+C you can force backup progress output off and switch
TrueImageTerminal to background operation.
You can terminate backup operation executed by TrueImageTerminal by pressing
Ctrl+B.
16.2.2 Script structure
Scripts are written in the XML language and you can use the following tags:
Source. Specifies the partitions or disks to be imaged. Letters assigned to partitions must
be used without a colon. Disk numbers correspond to their system numbers. To create
images of several partitions or disks, use the SOURCE tag for each of them, e.g.:
<source letter =”C” />
<source letter =”D” />
<source disk =”1” />
<source disk =”2” />
Target. Specifies the name and the location of an image file, e.g.:
<target file=“E:\Mybackup2.tib” username=”username”
password=”password” />
username
and
password
parameters are optional. They are used to access networked
resources.
As a target for the image files you can indicate CD-R/RW or tape drive.
156 Copyright © Acronis, Inc., 2000-2008
Komentarze do niniejszej Instrukcji