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
24 Copyright © Acronis, Inc., 2000-2011
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:
trueimagecmd /deploy /filename:"C:\Test\1.tib" /partition:2-1
/target_partition:1-1
The following command will restore partition 2-1, stored in image 1.tib, to hard disk 3:
trueimagecmd /deploy /filename:"C:\Test\1.tib" /partition:2-1
/target_harddisk:3 /start:63 /size:64000 /type:logical
A new logical partition will be created on disk 3 starting from sector 63. The partition will occupy
about 64000 sectors—the exact size will depend on disk geometry and the type of the file
system.
The following command will restore partition 1-1, stored in image Server30Cdrive.tib, protected
with password ‘123qwe’, to partition 2-1. The restored partition will be of the active type:
trueimagecmd /deploy /filename:z:\Server30Cdrive.tib /partition:1-1
/target_partition:2-1 /type:active /password:123qwe
The following command will restore the MBR from the image of hard disk 1 to the same hard disk
1. The image is contained in the 3rd backup created in archive number 2, located in Acronis
Secure Zone that is protected with password ‘pswd’:
trueimagecmd /deploy_mbr /harddisk:1 /asz:2 /index:3 /password:pswd
The following command will restore the MBR from the image of hard disk 1 to hard disk 2. The
image is contained in the arc.tib file located on the FTP server:
trueimagecmd /deploy_mbr /harddisk:1 /target_harddisk:2
/filename:ftp://server/folder/arc.tib /ftp_user:fuser
/ftp_password:fpswd
1.1.4.3 Back up files
The following command will back up files from the MyProject folder residing in D:\Workarea,
except for files in the Old subfolder and hidden files, to the Myproject.tib file and save this file in
the E:\Backups folder:
trueimagecmd /filebackup /filename:E:\Backups\Myproject.tib
/include:D:\Workarea\MyProject /exclude_names: D:\Workarea\MyProject\Old
/exclude_hidden