User guide

131 Copyright © Acronis International GmbH, 2002-2013
asn service. If you want to run the same command directly on the storage node (where no mms is
running), specify the "ASN user" credentials after the storage node host:
acrocmd export archive --host=storage_node --credentials="ASN user",pass
--service=asn --loc=bsp://storage_node/my_vault --target=\\bkpsrv\backups
--credentials=netuser,pass2
Importing an archive from a local folder of the storage node to a managed vault.
Usage scenario: create an archive with an initial full backup on a removable device, bring this
device to the remote location where a storage node is installed, and then import the archive to a
managed vault. After that, you can direct or replicate the subsequent incremental backups to the
managed vault over the network.
acrocmd export archive --host=storage_node --credentials="ASN user",pass
--service=asn --loc=E:\folder --arc=my_archive
--target=bsp://storage_node/my_vault --progress
In this example, the parameter value --service=asn is used because the archive is imported
from the local folder of the storage node. When importing an archive from a network share, you
can make any service (asn, mms or ams) execute the command. However, the asn service is the
most appropriate executor if you want to off-load the import from the agent installed on the
production server.
Validating an archive (p. 42)
Validating all backups of an archive.
acrocmd validate archive --loc=E:\backups\ --arc=my_archive
Cataloging an archive (p. 42)
Cataloging all the backups of an archive stored in a shared folder.
acrocmd catalog archive --loc=\\bkpsrv\backups --credentials=netuser,pass
--arc=my_archive
Deleting an archive (p. 43)
Deleting an archive.
acrocmd delete archive --loc=bsp://storage_node1/my_vault --credentials="ASN
user",pass123 --arc=my_archive
4.2.2 Backups
Listing backups (p. 44)
Listing backups of an archive stored in a local folder. The output will be displayed in the raw
format (p. 118). Therefore, you will be able to see and use complete GUIDs of backups.
acrocmd list backups --loc=E:\backups\ --arc=my_archive --output=raw
Listing backups of an archive stored in a managed vault and saving the complete output to a text
file. This allows you to use GUIDs of backups in scripts.
In the following example, the output in the raw format (p. 118) is redirected to a text file.
acrocmd list backups --loc=bsp://storage_node1/my_vault --credentials="ASN
user",pass123 --arc=my_archive --output=raw > c:\GUID.txt
In the following example, the operation log, including the output data, is written to a text file in
the structured xml format.
acrocmd list backups --loc=bsp://storage_node1/my_vault --credentials="ASN
user",pass123 --arc=my_archive --log=c:\log.txt