• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Restore Backup in CLI

zed2007

Basic Pleskian
Server operating system version
CentOS 7.9
Plesk version and microupdate number
Version 18.0.55 Update #1
Hi to all. I try to restore website backup in CLI (i need this in future for Cronjob). The backup is saved locally on server.
I'm trying to do this with the following command :

plesk bin pleskrestore --restore /var/lib/psa/dumps/domains/imnserver.de/backup_user-data_2309141019.tzst -only-sites demoshop-sw6.imnserver.de -domain-name imnserver.de

But I keep getting an followinf error:

Unable to import file as dump : Import error: Unable to find archive metadata. The archive is not valid Plesk backup or has been created in an unsupported Plesk version

Could someone tell me what the problem is here? Thank you in advance.
 
Hi @zed2007, thank you for posting. I was able to reproduce the issue a couple of days ago and tried to find someone who knows more. My guess is that the documentation is not perfectly clear and that the given commands only work with the .tar.gz archives that you get when storing backups to FTP. But I could not confirm it.

My question for you is whether you bought your license from Plesk? In that case it will be best you open a support case https://support.plesk.com and describe the issue there. Then a supporter can reproduce the issue and figure out the solution.

In case you bought your license from a reseller, support needs to be delivered by the reseller. Unfortunately, many don't do it. So in that case you could sign-up for a 30-days free-trial with Plesk support and still submit the ticket to us directly.
https://support.plesk.com/hc/en-us/articles/12388090147095-How-to-get-support-directly-from-Plesk-
 
Thanks for the help @Peter Debik. I also tried to make a backup without compression and received a .tar archive (on screenshot). But it didn't work with him either.
Yes, I have a license from a reseller. Thanks, I'll try to use your link.
B_tar.jpg
 
Back
Top