10.0
Table Of Contents
- Command-line mode and scripting in Windows
- Agent for Windows command-line utility
- Supported commands
- Common options
- Specific options
- create
- filebackup
- deploy
- deploy_mbr
- filerestore
- verify
- consolidate
- export
- convert
- list
- explore
- unplug
- asz_create
- asz_delete
- clone
- trueimagecmd.exe usage examples
- Image disks and partitions
- Restore disks and partitions
- Back up files
- Restore files
- Consolidate backups
- Export backups
- Convert an image to virtual disk
- List
- Check for assigned licenses
- Acronis Secure Zone: managing backups by archive numbers
- Acronis Secure Zone: managing backups by file names
- Acronis Secure Zone: deleting backups
- Clone
- Explore image
- Storage node command-line utility
- Scripting
- Agent for Windows command-line utility
- Console mode in Linux
- Backup, restore and other operations (trueimagecmd)
- Automatic image creation using cron service
- Restoring files with trueimagemnt
34 Copyright © Acronis, Inc., 2000-2011
For either script, these options are equivalent respectively to the vault, credentials, target_vault,
and target_credentials options of the StorageNodeCmd utility.
1.3 Scripting
Scripting is intended only for backup.
1.3.1 Script execution parameters
Scripts are executed by the TrueImageTerminal.exe utility located in the Acronis Backup & Recovery
10 installation folder (i.e. C:\Program Files\Acronis\BackupAndRecovery). 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 the progress of backup operations run either from Acronis Backup & Recovery
10 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 forcibly turn off backup progress output and switch TrueImageTerminal to a
background operation.
You can terminate the backup operation executed by TrueImageTerminal by pressing Ctrl+B.
1.3.2 Script structure
Scripts are written in the XML language and you can use the following tags:
Source (p. 34)
Target (p. 35)
Options (p. 35)
1.3.2.1 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” />