Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to check if a Plesk backup is valid for restoration?
Answer
- Connect to your Plesk server via SSH.
-
In the command below, replace
backup_info_1809291722.xmlwith 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.tarfile:# plesk bin pleskrestore --check-backup /root/backup_info_1809291722.xml.tar
- Connect to your Plesk server via RDP.
- Start a command prompt as Administrator
-
In the command below, replace
backup_info_1809291722.xmlwith an actual backup XML file name:Note: The command validates only backup structure.
C:\> plesk bin pleskrestore --check-backup backup_info_1809291722.xml
Output meaning
-
PLESK_INFO: The backup file is valid.
The backup is valid for restoration.
-
PLESK_INFO: 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.
-
PLESK_INFO: 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.
Comments
This is Remote FTP backup file downloaded
and previpus most of tiems we were able to extrcat using zip tools
can you suggest zip tool which will work with this ftp backup
Please sign in to leave a comment.