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.

Server wont boot; can we recover from the data on the drive?

Discussion in 'Data Protection' started by stugster, Jun 30, 2011.

  1. stugster

    stugster Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Edinburgh, UK
    cPanel Access Level:
    Root Administrator
    We've got a CentOS cPanel server that wont boot (fsck failed).

    What we'd like to do is pull the data from /home, /usr, etc. and build the account from that. Is there an easy way to do this? We found a few sites that suggest what dirs/files to move over, but in a virtualised test environment this doesn't work.

    It would be nice if there was a tool by cPanel that could do this from a dead disk?

    If not, we have backups; would just be a nice way to pull from the literally lasted data we have.
     
  2. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    149
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Yes, this should be recoverable. This is not a cPanel issue though, it is OS related and so not something in my opinion that cPanel should be supporting. You should be able to boot the server from a CentOS live CD, mount the filesystem and copy the data off as required.
     
  3. stugster

    stugster Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Edinburgh, UK
    cPanel Access Level:
    Root Administrator
    Oh yeah, definitely. I suppose I worded it badly. It would be nice for us to be able to grab a fresh server, fresh install, then attach the bad disk to that via USB then execute a tool to pull it all in.

    We've pulled from R1Soft for the time being, but it was just a thought as we were going through the motions :)
     
  4. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    149
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    An issue to consider with doing that is that if there is corruption to the content on the old drive, you'll just be copying this over to the new server and so possibly transferring the issue. Glad to hear you're back up and running again though.
     
Loading...

Share This Page