Vinayak

Well-Known Member
Jun 27, 2003
281
2
168
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.
 

WiredTree Joe

Well-Known Member
Dec 13, 2006
68
1
158
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.