• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved pleskrestore failure

tetrahall

Basic Pleskian
Hi,
I am trying to restore a mysql db via SSH. Uploaded the backup file "bk.sql" to server, and from the same directory, used the following command:-

plesk bin pleskrestore --restore bk.sql

I get the following message:-
Unable to import file as dump: The file you are trying to upload is not a valid backup file

I cannot use IMPORT from within Plesk because the file is large (>100mb).

Please advise. Thanks!
 
Managed to do it using the command:
MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin db_example < /path/to/database_dump

Thanks!
 
Back
Top