• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Manual Database rescue

aaronouthier

New Pleskian
Ok. I ran into a small problem with my Plesk Server. I accidentally typed "rm -rf /etc", instead of "rm -rf etc", on the production server... On a positive note, we don't host customer sites, just our own. On the down side, there are about a dozen web sites down now. I had been bugging the boss for over a year to purchase a backup drive for the system, but he never did.

Fortunately, I am an advanced Linux user, and, after purchasing a 1 TB backup drive, I used a linux boot USB stick, and imaged the primary drive onto the backup drive. Afterward, I went about reinstalling the OS. I had been wanting to reinstall anyway, but was waiting for the boss to purchase a backup drive. Irony...

Anyway, I've started to get the websites re-provisioned, and getting the file content copied back into place for each site. Although I a a wizard with Linux, one area I've never been very good with is Databases. I need to recover them from the original install, but I'm not too sure how to go about that post-mortem. Can I just copy the database stores into the same location on the new install? I don't imagine I can. All of the sites were wordpress sites. Those don't function so well without their database content. :(
 
Oh, I should probably mention: I was originally on Ubuntu 16.04.4, but decided to go with CentOS 7 this time around, since Ubuntu didn't support quotas.
 
If you have used the built-in Plesk backup function, go from there and restore the databases from the corresponding subscriptions.

If you have SQL dumps of the databases, you can easily import them into the databases.

If you have neither one, things will become anything between difficult to impossible.
 
Back
Top