credentials

--credentials=<user name>,<password>,encrypted

Credentials to access a machine, a backup location, or a folder. The parameter must directly follow the object for which credentials are required (for example, --host, --loc, --target).

To access Acronis Secure Zone, specify only the password in this parameter.

To access a network share that does not require credentials, specify --credentials=anonymous.

If the third parameter value (encrypted) is specified, it means that the preceding password was encrypted by the acronis_encrypt utility.

A command can contain several --credentials parameters.

Example

acrocmd export archive --loc=bsp://ASN/my_vault --credentials="ASN user",pass1 --arc=my_archive --password=123 --target=\\bkpsrv\backups --credentials=netuser,pass2

This command exports a password-protected archive from a managed vault to a network share. The first credentials are required to access the vault my_vault managed by the storage node ASN. The --password parameter specifies the password for the archive my_archive. The second credentials enable writing to the shared folder \\bkpsrv\backups.