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!

Settings Backup and reuse

Discussion in 'General Discussion' started by Vinayak, Apr 9, 2010.

  1. Vinayak

    Vinayak Well-Known Member

    Joined:
    Jun 27, 2003
    Messages:
    275
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Bharat
    cPanel Access Level:
    Root Administrator
    Every time I setup a new server, I have to do all the tweaking/settings manually.

    Is there a way so that we can take a backup of cPanle/WHM settings that can be reused to deploy new servers to have exact environment/settings that we prefer to have on our servers.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. WiredTree Joe

    WiredTree Joe Well-Known Member

    Joined:
    Dec 13, 2006
    Messages:
    68
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    Chicago, IL
    Off the top of my head, you can do the following. Copy this file a server that you have already preconfigured the tweak settings page to fit your needs:

    Code:
    /var/cpanel/cpanel.config
    to your new server and then run this as root via SSH:

    Code:
    /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings
    That "should" do the trick for you.
     
    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