acrocmd list archives --all --loc=bsp://storage_node1/my_vault --credentials="ASN user",pass123
acrocmd export archive --loc=\\bkpsrv\backups --credentials=netuser1,pass --arc=my_archive --password=123 --target=E:\copies --target_arc=my_archive_copy
acrocmd export archive --loc=bsp://storage_node/my_vault --credentials="ASN user",pass --target=\\bkpsrv\backups --credentials=netuser,pass2
The first credentials must belong to an administrator of the specified vault, in order to enable access to all archives stored there. The second credentials enable writing to the shared folder.
Exporting archives from a managed vault is always executed by the storage node service. In the above example, the mms service running on the local machine will transmit the command to the 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
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.
acrocmd validate archive --loc=E:\backups\ --arc=my_archive
acrocmd catalog archive --loc=\\bkpsrv\backups --credentials=netuser,pass --arc=my_archive
acrocmd delete archive --loc=bsp://storage_node1/my_vault --credentials="ASN user",pass123 --arc=my_archive