• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

extract database from dead plesk?

T

Tormente

Guest
Something went horribly wrong with plesk that I ended up replacing the drive and installing everything fresh, restoring the domains from backup.

Anyway, there was data on the old mysql database that happened sometime after my backup that we would really like to get back. But, any ideas on how to do so?

Currently I have the old drive mounted as /media/old/ so I can access it...

thanks for any help.
 
Hi,

Not sure your filesystem will be the same, but here is something you can try:

The databases on my system are located at - /var/lib/mysql/some_databases

Copy all below the mysql folder to your current mysql filesystem and you may succeed in merging your database structures.

Obviously backup all current databases first and ensure compatible versions before copying files across.

Regards

Pete
 
Be very carefull doing this. Do not copy the psa or mysql databases across as these have information relating to your new configuration.

if you cd into the old mysql directory and tar the specific database using for example.

cd /media/old/var/lib/mysql/
tar cz dbname >dbname.tar.gz

Then
mv dbname.tar.gz /var/lib/mysql/
cd /var/lib/mysql
tar xvzf dbname.tar.gz

using tar will give you a backup for later use when you disconnect the old HD as well as moving it across.

Cheers
Karl
 
thanks for the reply,

I'm mostly concerned for a single site so I'm not doing the entire server.

I tried backing up and copying the old database over but the site freaked out saying it was missing a file - don't recall off the top of my head and I can't reproduce it at the very moment, but I think it was something to do with a file called exp_throttle or something like that.
 
Back
Top