beautypg.com

Chapter 15. command-line mode and scripting, 1 working in the command-line mode, 1 supported commands – Acronis True Image 9.1 Enterprise Server - User Guide User Manual

Page 104: 1 working in the command, Line mode

background image

104 Copyright © Acronis, Inc., 2000-2007

Chapter 15. Command-line mode and
scripting

Acronis True Image Workstation (local version) supports the command-line mode and
enables backup automation by executing XML scripts.
The command-line mode functionality is somewhat limited as compared to the GUI mode.
You will not be able to perform operations that require reboot of the system, such as restore
a system partition or clone system drive. These operations can be done through the GUI
only.
As for scripting, it is intended only for backup.

15.1 Working in the command-line mode

An administrator might need a console interface in some situations. Acronis True Image
Workstation supports this mode with TrueImageCmd.exe utility. The file is located in a
folder where Acronis True Image Workstation has been installed, by default it is
C:\Program Files\Acronis\TrueImageWorkstation.

15.1.1 Supported commands

TrueImageCmd has the following format:

trueimagecmd /command /option1 /option2…

Commands may be accompanied with options. Some options are common for most
trueimagecmd commands, other are specific for individual commands. Below is a list of
supported commands and compatible options.

Command

Common Options

Specific Options

create

Creates an image of

specified disks and

partitions

/filename:[file name]
/password:[password] /asz
/net_user:[username]
/net_password:[password]
/incremental /differential
/compression:[0…9]

/split:[size in MB]
/oss_numbers /reboot
/log:[file name]

/harddisk:[disk number]
/partition:[partition number]
/file_partition:[partition letter]
/raw /progress:[on|off]

filebackup

Backs up specified
files and folders

/filename:[file name]
/password:[password] /asz
/net_user:[username]
/net_password:[password]
/incremental /differential
/compression:[0…9]
/split:[size in MB] /reboot
/log:[file name]

/include:[names]
/exclude_names:[names]
/exclude_masks:[masks]
/exclude_system /exclude_hidden

deploy

Restores disks and

partitions from an

image

/filename:[file name]
/password:[password] /asz
/index:N
/net_user:[username]
/net_password:[password]
/oss_numbers /reboot
/log:[file name]

/harddisk:[disk number]
/partition:[partition number]

/target_harddisk:[disk number]

/target_partition:[partition
number] /file_partition:[partition
letter]

/start:[start sector]

/fat16_32 /size:[partition size in
sectors]
/type:[active|primary|logical]

/preserve_mbr