Detailed instructions for use are in the User's Guide.
[. . . ] Acronis® Backup & Recovery TM 10 Server for Windows
Update 3
Command Line Reference
Table of contents
1 Command-line mode and scripting in Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1. 1 Agent for Windows command-line utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Supported commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Common options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [. . . ] By specifying
/target_harddisk:DYN
you will select unallocated space on all dynamic disks that are present in the system.
target_partition:[partition number]
Specifies the target partition number for restoring a partition over the existing one. If the option is not specified, the program assumes that the target partition number is the same as the partition number specified with the /partition option. Dynamic volumes are specified with the prefix DYN, e. g. :
/target_partition:DYN1
start:[start sector]
Sets the start sector for restoring a partition to the hard disk unallocated space.
15
Copyright © Acronis, Inc. , 2000-2010
size:[partition size in sectors]
Sets the new partition size (in sectors).
fat16_32
Enables the file system conversion from FAT16 to FAT32 if the partition size after recovery is likely to exceed 2 GB. Without this option, the recovered partition will inherit the file system from the image.
type:[active | primary | logical]
Sets the restored partition active, primary or logical, if possible (for example, there cannot be more than four primary partitions on the disk). Setting a partition active always sets it primary, while a partition set primary may remain inactive. If the type is not specified, the program tries to keep the target partition type. If the target partition is active, the restored partition is set active. If the target partition is primary, and there are other primary partitions on the disk, one of them will be set active, while the restored partition becomes primary. If no other primary partitions remain on the disk, the restored partition is set active. When restoring a partition on unallocated space, the program extracts the partition type from the image. For the primary partition, the type will be set as follows:
if the target disk is the 1st according to BIOS and it has no other primary partitions, the restored partition will be set active if the target disk is the 1st according to BIOS and there are other primary partitions on it, the restored partition will be set logical if the target disk is not the 1st, the restored partition will be set logical.
preserve_mbr
When restoring a partition over an existing one, the target partition is deleted from the disk along with its entry in the target disk MBR. Then, with the preserve_mbr option, the restored partition's entry will occupy the upper empty position in the target disk MBR. If not specified, the restored partition's entry will occupy the same position as in the source disk MBR saved in the image. If the position is not empty, the existing entry will be moved to another position.
Options specific for Universal Restore
The following options are available when using the Universal Restore add-on to Acronis Backup & Recovery 10.
ur_path:[path]
Specifies using Acronis Universal Restore and the path to the drivers storage.
ur_username:[username]
Specifies using Acronis Universal Restore and a user name. When getting access to a place located on the remote computer, the username depends on the service which is used to get access to the remote resource. if the remote resource is a shared folder located on a workgroup computer, the username must contain the remote computer name
16 Copyright © Acronis, Inc. , 2000-2010
("Computer_name\User_name"). If the resource is located on an FTP-server the computer name is not required. When the target and local computer are members of different domains, the username must contain the name of the domain the target computer is the member of (e. g. "Domain_name\User_name").
ur_password:[pwd]
Specifies using Acronis Universal Restore and a password associated with the ur_username option value.
ur_driver:[inf-filename]
Specifies using Acronis Universal Restore and the mass-storage driver to be installed.
1. 1. 3. 4
deploy_mbr
harddisk:[disk number]
Specifies the basic hard disk to restore the MBR from.
target_harddisk:[disk number]
Specifies the target hard disk where the MBR will be deployed to.
1. 1. 3. 5
filerestore
target_folder:[target folder]
Specifies a folder where folders/files will be restored (a target folder). If not specified, the original path is re-created from the archive.
overwrite:[older | never | always]
This option allows you to keep useful data changes made since the backup being restored was done. Choose what to do if the target folder contains a file with the same name as in the archive:
older this will give priority to the most recent file modification, whether it be in the archive or on the disk. never this will give the file on the hard disk unconditional priority over the archived file. [. . . ] The second archive contains a base file-level backup with two increments. You can restore data from any backup as follows:
trueimagecmd /filerestore /asz:2 /index:2 /target_folder:e:
This will restore files and folders from the backup created on 4/4/2009 at 6:31 PM with their original paths to the root of partition E.
trueimage /list /filename:asz://2 /index:3 /password:aszpw
which is equal to:
trueimagecmd /list /asz:2 /index:3 /password:aszpw
This will list content of the 3rd backup created in archive number 2, located in Acronis Secure Zone that is protected with password `aszpw'.
26 Copyright © Acronis, Inc. , 2000-2010
1. 1. 4. 11
Acronis Secure Zone: managing backups by file names
The following command will list the Acronis Secure Zone size, free space and contents using generated filenames:
trueimagecmd /asz_files /password:aszpw
Assume that the contents of Acronis Secure Zone are as follows:
C:\Program Files\Acronis\BackupAndRecovery>trueimagecmd /asz_files /password: aaa ASZ size: 5. 387 GB ASZ free space: 4. 363 GB FILE name: AAA2. TIB; size: 56414317 byte type: image, base; creation time: 2/16/2009 3:43:34 PM type: image, incremental; creation time: 4/25/2009 11:44:47 AM FILE name: FAAA. TIB; size: 3125550 byte type: file, base; creation time: 8/22/2009 12:28:40 PM FILE name: FAAB2. TIB; size: 5147 byte type: file, base; creation time: 8/14/2009 2:17:45 PM type: file, incremental; creation time: 8/15/2009 2:19:43 AM
In our example, the Acronis Secure Zone contains three archives. Archive AAA2 (2 stands for the number of backups in the archive) consists of:
full (base) image backup created on 2/16/2009 at 3:43 incremental backup created on 4/25/2009 at 11:44.
Archive FAAA (F means that this is a file-level archive) contains one base file-level backup. The next execution of the same command will delete the base FAAB backup. [. . . ]