• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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