Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to restore a Plesk xml.tar (Plesk for Linux) / xml.zip (Plesk for Windows Server) backup on another Plesk server?
Answer
A Plesk backup can be restored either via Plesk interface or a command-line interface directly on a server.
Limitations:
- A Plesk xml.tar backup file cannot be restored in Plesk for Windows Server. A Plesk xml.zip backup file cannot be restored in Plesk for Linux.
- 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.
- The maximum size of an uploaded backup file is limited to 2Gb. If a backup file size is larger than 2Gb, upload this backup file via a command-line interface.
-
Go to Tools & Settings > Backup Manager and click Upload.
-
Tick the option Upload backup files without a valid signature (by default, this option is available only for Plesk administrators, see this KB article for reference) and click Browse... to select a backup to upload.
-
After the backup has been uploaded, in Backup Manager, click on this backup.
-
Select:
-
Selected objects - to restore some objects
-
All objects (entire system) - to restore the whole backup file
-
-
Click Restore to begin the restoration.
-
Connect to a Plesk server where a backup should be restored via SSH (Linux)/RDP (Windows Server).
-
Transfer the exported backup (for example, via any FTP agent).
-
Restore the backup:
-
On Linux, adjust the command below and run it:
# PLESK_BACKUP_PASSWORD="backup_password" plesk bin pleskrestore --restore /root/backup_info_1712180545.xml.tar -level server -ignore-sign
where:
- /root/backup_info_1712180545.xml.tar - the full path to the backup
- server - the level to restore the server-wide backup. To restore only clients/domains/resellers use the appropriate keys instead: "clients" "domains" "resellers"
- backup_password - the password that was specified when downloading the backup from another Plesk server. If the password was not specified or is missing, remove PLESK_BACKUP_PASSWORD="backup_password" from the command
For more restoration options, see . pleskrestore: Restoration from Backup
-
On Windows Server, start a command prompt as an Administrator, adjust the command below and run it:
C:\> plesk bin pleskrestore.exe --restore "C:\backup_info_1712180545.xml.zip" -ignore-sign -level server -backup-password "backup_password"
where:
- C:\backup_info_1712180545.xml.zip - the full path to the backup
- server - the level to restore the server-wide backup. To restore only clients/domains/resellers use the appropriate keys instead: "clients" "domains" "resellers"
- backup_password - the password that was specified when downloading the backup from another Plesk server. If the password was not specified or is missing, remove -backup-password "backup_password" from the command
For more restoration options, see Plesk Documentation: pleskrestore.exe: Restoration from Backups.
-
Comments
9 comments
Hi Kuzma Ivanov,
I have backup of 12.5 and wants to restore on 17.x. i am getting migration error.
Error: Unable to upload the backup file (sc-holding-backup_info_1712291120.xml.zip). The file either contains modified or corrupted data, or it was created on another server or in an older Plesk version. To restore data from this file, contact your hosting provider.
I can not see "Upload backup files without a valid signature" in 17.x plesk panel..
Please suggest
Thanks
Hi Hiten!
Thanks for your question.
By default, the option Upload backup files without a valid signature is available only for Plesk administrators.
I'd suggest you to contact your Plesk administrator and ask him to enable this option for resellers and customers. Here is our KB article for reference:
After this option is enabled, you will be able to upload a backup file from another Plesk server.
How can I restore those backup to another domain?
@Sharul Hafiz Create domain, upload backup via GUI > restore
I have a similar but not exact problem, I have a backup of five domains that were created as reseller on another Plesk server.-
Now I need to restore them in a new server, I don't care or need about reseller info, just the domains. But I can't.
At first, following the console method the backup wouldnt show on the panel until I manually moved the "domains" directory from
/var/lib/psa/dumps/reseller/$USERNAME/
to
/var/lib/psa/dumps/
Now it shows in the Backup panel but I get the error about logging as the reseller to restore them.
The user I have created has the same $USERNAME but anyway I can't get to restore the domains.
Any ideas about how I can go around the "reseller" problem? I just need the domains themselves...
The exact error I get is:
The backup cannot be restored.
Ok so I'm answering myself as it usually happens... After creating a domain the user with the same login name as the reseller which had created the backup has finally been able to start the restore.
I hope it all goes well! But this part is done.
You need at least a domain created in the account, and also a user with the same name as the creator of the backup in order to restore it.
Hello B. Dans
Sorry to hear that you haven't received assistance as quickly as expected but glad to hear that you've sorted it out.
Let me note that quick replies in comments here are not guaranteed as technical support is concentrated on support requests.
To get a quick response, submit support requests to us or to our partner depending on where Plesk license was purchased, more information may be found here.
Thank you for understanding.
Thanks B. Dans
The backup uploaded via FTP on /var/lib/psa/dump was not showing from Administrator account.
Then I followed the above B.Dans and it worked...
Please sign in to leave a comment.