Plesk

How to restore domain’s backup in Plesk that was manually transferred from one server to another via SSH/FTP?

Question

How to restore domain's backup files created on local repository on one server that were uploaded to another server?

Answer

Limitations: 
- A restoration server must have the same or a higher Plesk version.
- A restoration server must have the same or higher Plesk license edition than the server where the backup has been created.

  1. Connect to the server via SSH.

  2. Create a backup directory for the domain, for example:

    # mkdir -f /var/lib/psa/dumps/domains/example.com

  3. Upload the backup files to the domain backup directory /var/lib/psa/dumps/domains/example.com. This will allow the backup to appear in Plesk UI.
    For example, if backup files are located in /root/backup directory, it is required to move them under a domain's backup directory:

    # mv /root/backup /var/lib/psa/dumps/domains/example.com

  4. Go to Plesk > Domains > example.com > Backup Manager and restore the backup.

Warning: A backup will not be added to Plesk Backup Manager if .discovered hidden directory is missing. In this case, restore the backup using the command line.

Additional information

How to restore a Plesk xml.tar/xml.zip backup file on another Plesk server

Documentation: CLI Restoration from Backup

 

Exit mobile version