The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Recover MySQL database, e-mail accounts from bare files?

Discussion in 'E-mail Discussions' started by feldon30, Jul 11, 2008.

  1. feldon30

    feldon30 Registered

    Joined:
    Jul 11, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    My WHM/cPanel server was compromised and after 24 hours of failed efforts of me trying to backup using WHM and cPanel, my web host offered to slave that hard drive onto a fresh new server. After more gesticulations, they got that drive hooked up.

    So I can now see my old WHM/cPanel hard drive as a mounted drive, but obviously I cannot use any of the normal tools like mysqldump, etc. to transfer databases. Any ideas on how to migrate MySQL databases and e-mail accounts over?
     
  2. feldon30

    feldon30 Registered

    Joined:
    Jul 11, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I was able to copy the files over from the old drive to /var/lib/mysql/ and change the ownership to mysql:mysql and it seems to be working.
     
Loading...

Share This Page