Acronis Backup Cloud: how to validate an archive using acrocmd
Sometimes it is necessary to determine whether an archive stored in the cloud is consistent, ie 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 console since validation only runs after a successful backup. This limitation can be bypassed using Acronis Command-Line Tool (acrocmd).
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.
--password=<password>,encrypted
directly after the --arc parameter. Where <password> is the encryption password you have specified in the backup plan.
Encrypt the password with acronis_encrypt utility .
HideCómo validar una copia de seguridad en el almacenamiento en la nubeHide How to validate a backup in Cloud storage
Step 1
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.
HideCómo validar la copia de seguridad almacenada en el recurso compartido de redHide How to validate backup stored on network share
Step 1
First, obtain the list of archives by issuing the following command:
acrocmd list archives --all --loc=\\bkpsrv\backups --credentials=netuser,pass --log=C:\Log.xml --output=raw > C:\archives.txt
where
<netuser> is the user required to access the source network folder \\bkpsrv1\backups.
<pass> is the password for this account
The command writes a list of all archives within the share 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=\\bkpsrv\backups --credentials=netuser,pass --arc=<archive_ID> --output=raw > C:\backup_list.txt
where
<netuser> is the user required to access the source network folder \\bkpsrv1\backups.
<pass> 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=\\bkpsrv\backups --credentials=netuser,pass --arc=<archive_name> --log=C:\Log_validation.xml --output=raw > C:\archive_validation.txt
where
<netuser> is the user required to access the source network folder \\bkpsrv1\backups.
<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=\\bkpsrv\backups --credentials=netuser,pass --arc=<archive_name> --backup=<backup_ID> --log=C:\Log_backup_validation.xml --output=raw > C:\backup_validation.txt
where
<netuser> is the user required to access the source network folder \\bkpsrv1\backups.
<pass> 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
If backup in encrypted, add --password=<password>,encrypted after the arc parameter, eg acrocmd validate archive --loc=\\bkpsrv\backups --credentials=netuser,pass --arc=<archive_name> --password=<password>,encrypted --log=C:\Log_validation.xml --output=raw > C:\archive_validation.txt
HideCómo validar la copia de seguridad en el disco localHide How to validate backup on local disk
Step 1
First, obtain the list of archives by issuing:
acrocmd list archives --all --loc=<location> --log=C:\Log.xml --output=raw > C:\archives.txt
where
<location> is the folder with the archive, eg E:\backups\
The command writes a list of all archives within the specified location 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=<location> --arc=<archive_ID> --output=raw > C:\backup_list.txt
where
<archive_ID> is the ID of the archive which backups you want to list
<location> is the folder with the archive, eg E:\backups\
C:\backup_list.tx t 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=<location> --arc=<archive_name> --log=C:\Log_validation.xml --output=raw > C:\archive_validation.txt
where
<location> is the folder with the archive, eg E:\backups\
<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=<location> --arc=<archive_name> --backup=<backup_ID> --log=C:\Log_backup_validation.xml --output=raw > C:\backup_validation.txt
where
<location> is the folder with the archive, eg E:\backups\
<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
If backup in encrypted, add --password=<password>,encrypted after the arc parameter, eg acrocmd validate archive --loc=<location> --arc=<archive_name> --password=<password>,encrypted --log=C:\Log_validation.xml --output=raw > C:\archive_validation.txt