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!

Migrating WHM settings to new VPS ???

Discussion in 'Data Protection' started by imacurious, Jul 11, 2014.

  1. imacurious

    imacurious Member

    Joined:
    Mar 9, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    I'm hoping that somebody here can explain how cPanel settings can be transferred from one server to another correctly.

    I've been using a cPanel VPS at a very large hosting company for quite some time and I've spent a lot of time customizing all the settings available in WHM.

    A few weeks ago I was forced to move to a new VPS at the same hosting company. The hosting company packaged all my domains (about 20) and moved them to the new server for me.

    I had expected to login to the new server and see all the WHM settings the same as they were on the old server as the cPanel versions were identical on both servers. Much to my surprise many of the settings were not the same on the new server as they were on the old server, and I had to spend a lot of time reviewing each setting.

    Is there not some way to ensure that the many hundred/thousand WHM settings migrate correctly?
    Is there an XML file that holds all the settings? (that would be great in and of itself as a form of printable documentation).

    As a result of my botched migration, if I need to migrate servers in the future to either another VPS or a dedicated box, I'm going to instantiate the server a few weeks ahead of time in order to get everything setup correctly -- before I transfer domains -- unless there's some sort of config/xml file that cPanel can use to transfer settings from one server to another.

    Thanks for any insights anyone may offer.
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    834
    Likes Received:
    29
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    cPanel is currently working on an API that will let you export and import configurations, but there's no ETA on when it will be released (I heard this from a developer that I converse with regularly). As far as cPanel is concerned, most of your configs will be here:

    /var/cpanel/cpanel.config
    /etc/wwwacct.conf

    Simply moving over the user accounts will not alter the global server configuration - your hosting provider should have known that.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,216
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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