Question
How to check if a Plesk backup is valid for restoration?
Answer
Click on a section to expand
Plesk for Linux
Connect to a Plesk server via SSH
Run the following command to validate the backup file structure. Replace backup_info_1809291722.xml with an actual backup XML file name:
Note: The command validates only backup structure.
# plesk bin pleskrestore --check-backup /var/lib/psa/dumps/backup_info_1809291722.xml
If a backup file has been uploaded via FTP, specify the full path to the .xml.tar file:
# plesk bin pleskrestore --check-backup /root/backup_info_1809291722.xml.tar
Plesk for Windows
Connect to a Plesk server via RDP
Run the following command to validate the backup file structure. Replace backup_info_1809291722.xml with an actual backup XML file name:
Note: The command validates only backup structure.
C:> "%plesk_dir%binpleskrestore.exe" --check-backup backup_info_1809291722.xml
Possible results
The backup file is valid.
The backup is valid for restoration.
The specified backup file is corrupted, modified, created on another server or in an earlier Plesk version. To restore it, use the -ignore-sign option.
In case the backup was created on another Plesk server, restore it according to this KB article.
Unable to import file as dump: The file you are trying to upload is not a valid backup file
While the backup is not entirely valid, individual files (e.g. databases) still can be restored from it if needed.
Additional Information
Reference for Command-Line Utilities, Plesk for Linux: Restoration from Backup
How to restore a backup on another Plesk server
How to allow resellers and customers to upload backup files without a valid signature