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.

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:
    267
    Likes Received:
    2
    Trophy Points:
    18
    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.
     
  2. WiredTree Joe

    WiredTree Joe Well-Known Member
    PartnerNOC

    Joined:
    Dec 13, 2006
    Messages:
    68
    Likes Received:
    1
    Trophy Points:
    8
    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.
     
Loading...

Share This Page