23
Copyright © Acronis, Inc., 2000-2010
target_harddisk:[disk number]
Specifies the target hard disk number where the source hard disk will be cloned.
1.1.4
trueimagecmd.exe usage examples
1.1.4.1
Image disks and partitions
The following command will create an image named 1.tib of partitions 2-1 and 1-3:
trueimagecmd /create /filename:"C:\Test\1.tib" /partition:2-1,1-3
The image will be saved to the C:\Test\ folder.
The following command will create an image of partitions 2-1 and 1-3 in the Acronis Secure Zone:
trueimagecmd /create /asz /partition:2-1,1-3
The following command will create an image named 1.tib of partitions 2-1 and 1-3:
trueimagecmd /create /filename:"\Test\1.tib" /partition:2-1,1-3
/file_partition:3-1
The image will be saved in the folder \Test on partition 3-1.
The following command will append an incremental image to the image named 1.tib of hard disk
2:
trueimagecmd /create /filename:"C:\Test\1.tib" /password:qwerty
/harddisk:2 /reboot /raw /incremental /compression:5 /split:640
/progress:off
The image will be saved to C:\Test\ folder, protected with password “qwerty”, split into 640-MB
parts, and contain all cluster data. Image compression level is 5. The server will be rebooted after
the operation is completed.
The following command will create an image of partition 2-1 named arc.tib in the shared folder
\\server1\folder:
trueimagecmd /create /partition:2-1 /filename:\\server1\folder\arc.tib
/net_user:user1 /net_password:pw1 /log:\\server2\dir\log1.log
/log_net_user:user2 /log_net_password:pw2
The operation log file log1.log will be saved on another share \\server2\dir\. Credentials for both
shares are provided.
The following command will create an image of partition 2-1 in the archive.tib file located on the
FTP server:
trueimagecmd /create /partition:2-1 /filename:ftp://server/folder/archive.tib
/ftp_user:usr1 /ftp_password:pswd1
1.1.4.2
Restore disks and partitions
The following command will restore partition 2-1 from image 1.tib to the original location:
trueimagecmd /deploy /filename:"C:\Test\1.tib" /partition:2-1
The following command will restore hard disk 2 from image 1.tib, protected with password
‘qwerty’, to the original hard disk:
trueimagecmd /deploy /filename:"C:\Test\1.tib" /password:qwerty
/harddisk:2
The following command will restore partition 2-1, stored in image 1.tib, to partition 1-1: