• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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