acrocmd list disks
acrocmd list disks --host=192.168.1.2 --credentials=user1,pass1
acrocmd list disks --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams --vmid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
acrocmd backup disk --volume=2-1,1-3 --split=4608 --loc="F:\my backups" --arc="my archive"
acrocmd backup disk --loc=F:\ --arc=my_machine --plain_archive --log=D:\logs\log.txt
acrocmd backup disk --disk=1,2 --compression=max --exclude_mask=*.bak --loc=\\bkpsrv\backups --credentials=bkpuser,pass --arc=disk_archive
acrocmd backup disk --volume=C --backuptype=incremental --use_vss=auto --loc=bsp://storage_node1/my_vault --credentials=bkpuser,pass --arc=c_archive
acrocmd backup disk --volume=DYN1 --loc=\\srv1\backups --credentials=netuser1,pass1 --arc=dyn1_arc
For more information about selecting logical volumes in Linux, see Selecting logical volumes and MD devices for backup
acrocmd backup disk --volume=DYN --loc=ftp://srv1/backups --credentials=ftpuser1,pass1 --arc=alldyn_arc
Single-pass disk and application backup
acrocmd backup disk --application_aware --loc=\\srv1\backups --credentials=netuser1,pass1 --arc=machine1_app --ignore_app_errors
The user who runs the command must be a member of the sysadmin role on each of the instances installed on the machine.
acrocmd backup disk --host=192.168.1.2 --credentials=user1,pass1 --application_aware --loc=bsp://storage_node1/my_vault --arc=my_archive_app --mssql_truncate_logs
The user whose credentials are specified after the --host parameter must be a member of the sysadmin role on each of the instances installed on the machine. If there is no such user, you may access the machine through the management server:
acrocmd backup disk --host=srv1 --credentials="srv1\AMS user",pass --service=ams --address=192.168.1.2 --application_aware --loc=bsp://storage_node1/my_vault --arc=my_archive_app --mssql_truncate_logs
In this case, the command will be executed under the account of the agent service running on the machine.
Recovering disks
acrocmd recover disk --loc=\\srv1\folder1 --credentials=user1,pass1 --arc=my_machine
acrocmd recover disk --loc=F:\backups --arc=my_archive --disk=1,2 --target_disk=3,4
acrocmd recover disk --loc=nfs://server/backups:/ --arc=my_archive --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --disk=2 --target_disk=1
acrocmd recover disk --loc=atis:///tape?XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --arc=disk_archive --disk=2,3
The archive is specified by the file name of a backup that belongs to the archive (my_machine2.tib). Please be aware that the command will apply to the latest backup rather than to the one specified in the --arc parameter. If the archive metadata is lost, the command will apply to the latest backup of the backup chain. (A backup chain is a full backup and all of its dependent incremental and differential backups.)
acrocmd recover disk --loc=F:\backups --arc=my_machine2.tib --disk=1 --target_disk=4
Recovering volumes
Since neither the --target_disk nor the --target_volume parameter is specified, the software will automatically map the volume to the original one. If the original volume is not found, the software will recover to the first unallocated space of a suitable size. If no unallocated space of a suitable size is found, the command will fail.
acrocmd recover disk --loc=/home/user1/my_backups --arc=my_machine1 --volume=1-2
acrocmd recover disk --loc=F:\ --arc=my_machine --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --volume=1-1,1-2,2-1 --target_volume=3-1,3-3,4-1
acrocmd recover disk --loc=bsp://storage_node1/my_vault --credentials=admin,pass --arc=my_archive --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --volume=1-1 --target_disk=2 --start=8192 --size=6400 --type=active
acrocmd recover disk --loc=\\srv1\backups --credentials=netuser1,pass1 --arc=machine1_dyn1 --volume=2-1 --target_volume=DYN1
Since the --target_disk parameter is specified, the volumes will be recovered to the unallocated space of that disk. The resulting volumes will be basic. If no unallocated space of a suitable size is found, the command will fail.
acrocmd recover disk --loc=F:\ --arc=my_machine --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --volume=2-2,DYN4 --target_disk=3
acrocmd recover disk --loc=ftp://srv1/backups --credentials=ftpuser1,pass1 --arc=alldyn_arc --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --volume=DYN3 --target_volume=DYN4
In the following example, the type of the resulting volume will be simple because a basic volume was backed up.
acrocmd recover disk --loc=F:\ --arc=my_machine --volume=2-3 --target_volume=UNALLOCATED-DYN
In the following example, the type of the resulting volume will be inherited from the backed-up volume because a dynamic volume was backed up.
acrocmd recover disk --loc=ftp://srv1/backups --credentials=ftpuser1,pass1 --arc=alldyn_arc --volume=DYN3 --target_volume=UNALLOCATED-DYN
acrocmd recover mbr --loc=atis:///asz --arc=my_archive --disk=1 --target_disk=1
Recovering logical volume structure
acrocmd recover lvm_structure --loc=\\bkpsrv\backups --credentials=netuser1,pass1 --arc=my_archive