• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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