Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Hacked Server - copy sql from slave

Discussion in 'Database Discussion' started by webvision, Nov 13, 2007.

  1. webvision

    webvision Member

    Joined:
    Jun 21, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    My server got rooted and cannot be consoled it anymore.
    The DC will put in a new drive with CentOS and leave the old one as slave
    How can i recover/copy my accounts and sql databases from the old drive and have it work?

    Thank you so much

    I had apf/bfp/no ssh for root and i still got pwned
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    4
    Trophy Points:
    193
    Location:
    Minneapolis, MN
    Having APF and BFD are not enough to secure a server. This thread might help you restore your files:
    http://forums.cpanel.net/showpost.php?p=300234&postcount=7
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. webvision

    webvision Member

    Joined:
    Jun 21, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    thank you for the information
    I finally got the new server up and old hd mounted

    Will i be able to move the files back even though i used to have apache1.3 and now they put apache2 and if the sql version is different?

    Any problems with this?

    Thank you
     
  4. webvision

    webvision Member

    Joined:
    Jun 21, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    i just did rsync of one home directory and it says it's copying the files but when i do an ls on the directory it doesn't show them..

    I created the new account manually and then did the rsync of the home dir files for the account
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice