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.

Restoring server raw data files

Discussion in 'Data Protection' started by DelPiero, Oct 30, 2008.

  1. DelPiero

    DelPiero Registered

    Joined:
    Dec 20, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I have a raw data backup from my old server that had Cpanel. I have been provisioned a new server, and I have been trying to restore my sites along with WHM old settings, packages and resellers info. What's the easiest way about performing this sort of restore without messing up the newly configured server?

    Thank you
     
  2. nxweb

    nxweb Active Member

    Joined:
    Oct 29, 2008
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    What do you mean by raw data? Is it your old data from your old drive? If so, you can move it back with rsync. It's actually very easy.
     
  3. jBillu

    jBillu Member

    Joined:
    Oct 21, 2008
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    From the term "raw data" it appears that you have backup of partitions of old server like /home, /usr, /var etc. If this is the case then in order to restore the sites, you can simply create empty accounts with same Usernames. After that just copy the user folders under /home from old server's backup to new server's /home partition. Also copy the complete /var/lib/mysql contents from old to new server's /var/lib/mysql. Make sure the MySQL version on the new server is same as it was before on the old one.

    As far as old server's WHM configurations are concerned, I believe it shouldn't be a problem and new server server can be configured in short span of time with few clicks. Most of the configurations related files are under /var/cpanel directory but make sure that you are absolutely sure about what you are going to do before you actually do it regarding copying any configuration related data.

    Hope that will help.
     
Loading...

Share This Page