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.

Hacked Server - copy sql from slave

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

  1. webvision

    webvision Member

    Joined:
    Jun 21, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    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:
    3
    Trophy Points:
    38
    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
     
  3. webvision

    webvision Member

    Joined:
    Jun 21, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    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:
    1
    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