• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Backing Up & Restoring Data Problem

KaiThH

New Pleskian
Hello,

I got the Panel Version: 11.5.30 Update #21 (on both servers) and wanted to write me a little shell script which creating me a backup file and transfer it over rsync to my second server. But I'm unable to restore this file on my second server.
I also read this Thread about it but I still got the problem that I'm unable to restore the file.

My testing:
Main Server:
Code:
# /usr/local/psa/bin/pleskbackup server --backup-password=test123 --output-file=/var/lib/psa/dumps/backup.tgz
# rsync -av --delete --stats /var/lib/psa/dumps/backup.tgz backup:/var/lib/psa/dumps/
No problems on this side.

Second Server:
Code:
# /usr/local/psa/bin/pleskrestore --restore /var/lib/psa/dumps/backup.tgz -backup-password test123 -level server -ignore-sign

And there I have the following problem (like in the Thread which I linked above):
Code:
# 
The backup file was extracted to "/var/lib/psa/dumps".

Unable to decrypt backup. Specified key is not suitable.


So I tried to find out where the problem is and tried other commands of pleskrestore in different combinations:
Code:
# /usr/local/psa/bin/pleskrestore --info /var/lib/psa/dumps/backup.tgz

#
------------------------------------------------------------------------
Backup information
Dump version: 9.0
File: /var/lib/psa/dumps/backup_info_1311071701.xml
Type: Server
Comment:
Date: 1311071701
Size: 1.21 G
------------------------------------------------------------------------
[Client-info] user
  [Domain-info] xxx.com
[Client-info] userxxxyyy
  [Domain-info] xxxyyy.com

So I tried to validate the backup and testing the -backup-password function:
Code:
# /usr/local/psa/bin/pleskrestore --check-backup /var/lib/psa/dumps/backup.tgz -backup-password test123 -ignore-sign
# The backup file is valid.

Code:
# /usr/local/psa/bin/pleskrestore --check-backup /var/lib/psa/dumps/backup.tgz -ignore-sign
# Unable to decrypt the backup: The specified key is not suitable.

-backup-password working correctly with --check-backup.

Hope these are enough informations to help me or give me a hint how to solve the problem.

Greetings
 
My advice - do not use a password option -backup-password test123
 
Back
Top