• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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