50
Copyright © Acronis, Inc., 2000-2010
2.1.3.12
clone
harddisk:[disk number]
Specifies a source hard disk which will be cloned to the new hard disk.
target_harddisk:[disk number]
Specifies the target hard disk number where the source hard disk will be cloned.
2.1.4
trueimagecmd usage examples
The following command will list available partitions:
trueimagecmd --list
The following command will list the partitions (and their indices) saved in backup.tib:
trueimagecmd --list --filename:backup.tib
The following command will check if there are licenses assigned to the local machine on the
license server:
trueimagecmd --ls_check
The result is a list of used licenses. For example:
Acronis Backup & Recovery 10 Advanced Server
(trial)
invalid
Acronis Backup & Recovery 10 Advanced Server
valid
The following command will create an image named backup.tib of partition 1-1:
trueimagecmd --partition:1-1 --filename:backup.tib --create
The following command will create an incremental image of the above partition:
trueimagecmd --partition:1-1 --filename:backup.tib --create --incremental
The following command will create an image of partition 1-1 in the Acronis Secure Zone:
trueimagecmd --partition:1-1 --asz --create
The following command will create an image of an MD device (which may reside on two or more
partitions):
trueimagecmd --partition:dyn1 --filename:backup.tib --create
This will restore a partition from backup.tib:
trueimagecmd --partition:1-1 --filename:backup.tib --restore
The following command will restore an MD device from backup.tib:
trueimagecmd --partition:dyn1 --filename:backup.tib --restore
The following command will back up the folder /usr/kerberos/lib to the FTP server location:
trueimagecmd --filebackup --include:'/usr/kerberos/lib' \
--filename:ftp://myftp.com/Backup/MyLib.tib --ftp_user:usr1 \
--ftp_password:passw1
The following command will back up the folder /bin to the shared folder on host1 and create the
operation log in the shared folder on host2:
trueimagecmd --filebackup --include:’/bin' \
--filename:smb://username1:password1@host1/dir/MyBin.tib \
--log:smb://username2:password2@host2/dir/Mylog1.log