• 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.

Resolved How to restore a SQL-dump created during plesk repair utility?

Sascha Schlüter

New Pleskian
Hello there,
i made some bad decisions during use of the plesk repair utility ("plesk repair db -verbose") and lost some domains and related mailboxes from the configuration.

Fortunately, the utility created a dump (/var/lib/psa/dumps/mysql.preresolve.20190917-193942.dump.gz) before "repairing" the database.

But: how do i restore the dump correctly?

Can i follow the examples from here: How to back up/restore Plesk system databases

According to that examples my command should be

zcat /var/lib/psa/dumps/mysql.preresolve.20190917-193942.dump.gz | plesk db

but i am not sure at all...

Help is needed urgently - thank you!
 
Back
Top