59406: Acronis Backup Cloud: how to validate an archive using acrocmd

Translate to:

Applies to:

Sometimes it is necessary to determine whether an archive stored in the cloud is consistent, i.e. to validate a backup for the possibility of data recovery. This operation is called backup validation.

Acronis Backup Cloud’s GUI does not allow running a backup validation process separately from the backup job. In case a backup task fails, it won’t be possible to validate the archive using the backup clonsole since validation only runs after a successful backup. This limitation can be bypassed using Acronis Command-Line Tool (acrocmd).

The commands below contain the parameter for saving logs. To make logs more detailed and informative you may first want to change logging level to “debug”:
1. Navigate to C:\Program Files\BackupClient\BackupAndRecovery\
2. Open the file named mms.config
3. Find the line containing the following string: <channel id="mms" level="info"
4. Change level="info" to level="debug".
5. Save the file and restart Acronis Managed Machine Service.

Step 1

You need to perform the steps below on a machine where Acronis agent and Acronis Command-Line Tool are installed. By default, Acronis Command-Line Tool is installed with the agent.

First, obtain the list of archives by issuing:
acrocmd list archives --loc=online:// --credentials=<account>,<password>  --log=C:\Log.xml --output=raw > C:\archives.txt

where
<account> is the account holding the data
<password> is the password for this account

The command writes a list of all archives for a particular account to the file C:\archives.txt.

Optionally, you can obtain a list of all backups inside the archive to validate a specific backup:
acrocmd list backups --loc=online:// --credentials= <account>,<password>  --arc=<archive_ID>  --output=raw > C:\backup_list.txt

where
<account> is the account holding the data
<password> is the password for this account
<archive_ID> is the ID of the archive which backups you want to list
 
C:\backup_list.txt will contain the list of backups inside the archive.

Step 2

You can either validate the whole archive or a specific backup.

To validate the whole archive, issue:
acrocmd validate archive --loc=online:// --credentials= <account>,<password>  --arc=<archive_name> --log=C:\Log_validation.xml --output=raw  > C:\archive_validation.txt

where
<account> is the account holding the data
<password> is the password for this account
<archive_name> is the name of the archive you validate, which you found in archives.txt generated in step 1
 
C:\archive_validation.txt will contain the result of validation. The full log of the validation procedure can be found under \%allusersprofile%\Acronis\ServiceProcess\  in the respective log of service_process.exe.

To validate a specific backup in the chain:
acrocmd validate backup --loc=online:// --credentials= <account>,<password>  --arc=<archive_name>  --backup=<backup_ID> --log=C:\Log_backup_validation.xml --output=raw > C:\backup_validation.txt

where
<account> is the account holding the backed up data
<password> is the password for this account
<archive_name> is the name of the archive containing the backup you want to validate, which you found in archives.txt generated in step 1
<backup_ID> is the ID of the backup you want to validate, which you found in backup_list.txt generated in step 1
 
C:\backup_validation.txt will contain the result of validation. Full log of validation procedure can be found under \%allusersprofile%\Acronis\ServiceProcess\ in the respective log of service_process.exe.

Validation of the latest backup may also take time, even if this backup is incremental or differential, and small in size. This is because the operation validates not only the data physically contained in the backup, but all of the data recoverable by selecting the backup. This requires access to previously created backups.

You are reporting a typo in the following text:
Simply click the "Send typo report" button to complete the report. You can also include a comment.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
18 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.