Articles in this section

How to validate a Plesk backup

Plesk for Windows kb: how-to Plesk for Linux

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to check if a Plesk backup is valid for restoration?

Answer

Plesk for Linux
  1. Connect to your Plesk server via SSH.
  2. In the command below, 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
  1. Connect to your Plesk server via RDP.
  2. Start a command prompt as Administrator
  3. In the command below, replace backup_info_1809291722.xml with 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.

 

Additional Information

Was this article helpful?

Comments

1 comment
Date Votes
  • 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 

     

    0

Please sign in to leave a comment.