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=\\bkpsrv1\backups --credentials=netuser1,pass1 --arc=my_archive --password=123 --target=\\bkpsrv2\backups --credentials=netuser2,pass2
This command exports a password-protected archive from one network folder to another one. The first credentials are required to access the source network folder \\bkpsrv1\backups
. The --password
parameter specifies the password for the archive my_archive
. The second credentials enable writing to the target network folder \\bkpsrv2\backups
.