User guide

134 Copyright © Acronis International GmbH, 2002-2013
Mounting SQL databases (p. 53)
Mounting two databases from the latest backup of an archive.
acrocmd mount mssql_database --loc=\\srv1\backups --credentials=netuser1,pass1
--arc=machine1_app --items=WEBSERVER/Accountants,NEWSERVER/Anna
--destination_instance=SUPERVISION --credentials="SQL user",pass2
Unmounting SQL databases (p. 54)
Unmounting all databases mounted to the "SUPERVISION" instance by using the mount
mssql_database command.
acrocmd umount mssql_database --items=SUPERVISION
4.3 Operations with Acronis Secure Zone
Creating Acronis Secure Zone (p. 55)
Creating Acronis Secure Zone on disk 2 of the local machine. Since the --asz_size (p. 109)
parameter is not specified, Acronis Secure Zone will be created with a default size which is the
average between the maximal (all the unallocated space) and minimal (about 50 MB) values.
acrocmd create asz --disk=2
Creating Acronis Secure Zone of size 500 MB on disk 1 of the local machine. If the unallocated
space is not enough, the space will be taken from the second volume of that disk.
acrocmd create asz --disk=1 --volume=1-2 --asz_size=500
Creating Acronis Secure Zone of size 20 GB on disk 1 of a remote machine.
acrocmd create asz --host=192.168.1.2 --credentials=john,pass1 --disk=1
--asz_size=20gb
Resizing Acronis Secure Zone (p. 55)
Displaying the Acronis Secure Zone size and free space in gigabytes.
acrocmd resize asz --size_measure=gb
Increasing Acronis Secure Zone on the local machine (we assume that the current size is less than
10 GB). Acronis Secure Zone is on disk 1. If the unallocated space on that disk is not enough, the
space will be taken from the second volume of that disk. The command output will contain the
resulting size and free space in gigabytes.
acrocmd resize asz --asz_size=10gb --volume=1-2 --size_measure=gb
Decreasing Acronis Secure Zone on a remote machine (we assume that the current size is more
than 10 GB). Since the --volume parameter is not specified, the freed space will become
unallocated. The command output will contain the resulting size and free space in megabytes
because the --size_measure parameter is not specified.
acrocmd resize asz --host=192.168.1.2 --credentials=john,pass1 --asz_size=10gb
Cleaning up Acronis Secure Zone (p. 56)
Cleaning up Acronis Secure Zone on the local machine. The cleanup operation deletes the
backups corrupted due to a power loss or another reason.
acrocmd cleanup asz
Cleaning up Acronis Secure Zone on a remote machine.
acrocmd cleanup asz --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams
--address=192.168.1.2