User guide
121 Copyright © Acronis International GmbH, 2002-2013
If the parameter is specified, the software will use the default values of backup and recovery options
set in the graphical user interface of Acronis Backup & Recovery 11.5. These values are stored on the
machine with the agent that performs the command. On a machine running Windows, the values are
stored in the registry; on a machine running Linux, the values are stored in the Acronis Backup &
Recovery 11.5 configuration files.
If the parameter is not specified, the software will use the default values described in this
Command-Line Reference. These values are contained in the command-line utility code.
4 Usage examples
4.1 Backup and recovery
4.1.1 Disks and volumes
Listing disks (p. 18)
Listing all disks of the local machine.
acrocmd list disks
Listing disks of a remote machine.
acrocmd list disks --host=192.168.1.2 --credentials=user1,pass1
Listing disks of a virtual machine.
acrocmd list disks --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams
--vmid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Backing up disks and volumes (p. 19)
Backing up the first volume of the second disk and the third volume of the first disk. The backup
will be saved to a local folder and will be split into 4.5-GB parts to be later written on DVDs. To
get the volume numbers, use the list disks (p. 18) command.
acrocmd backup disk --volume=2-1,1-3 --split=4608 --loc="F:\my backups" --arc="my
archive"
Backing up the entire machine to a file with a simplified name. For more details, see the
--plain_archive (p. 91) parameter description. The operation log will be saved to a text file.
acrocmd backup disk --loc=F:\ --arc=my_machine --plain_archive
--log=D:\logs\log.txt
Backing up disks 1 and 2 excluding .bak files. The compression level will be set to maximum. The
backup will be saved to a network shared folder. To get the disk numbers, use the list disks
(p. 18) command.
acrocmd backup disk --disk=1,2 --compression=max --exclude_mask=*.bak
--loc=\\bkpsrv\backups --credentials=bkpuser,pass --arc=disk_archive
Creating an incremental backup of volume C:. The Volume Shadow Copy Service (VSS) will be
enabled and will automatically select between the available hardware-based and software-based
snapshot providers. The backup will be saved to a managed vault.
acrocmd backup disk --volume=C --backuptype=incremental --use_vss=auto
--loc=bsp://storage_node1/my_vault --credentials=bkpuser,pass --arc=c_archive
Backing up the first (according to the list disks (p. 18) command output) dynamic volume in
Windows or logical volume in Linux. The backup will be saved to a network shared folder.