Clone a cPanel server configuration to a new server (excluding server specific items)

As a Server Administrator, I want the ability to clone a cPanel server to a new setup, so that deployment of new servers is simplified and quicker.

Cloning should include:


  • Tweak Settings (i.e. /var/cpanel/cpanel.config)
  • Exim Configuration
  • Feature Lists
  • Packages
  • Custom EasyApache Profiles
  • Reseller ACLs
  • Statistics Software Configuration
  • Update Preferences
  • /var/cpanel/rpm.versions.d
  • Other settings to be defined


Cloning should explicitly exclude:

  • IP Addresses
  • Nameservers
  • Hostname
  • cPanel Accounts
  • Anything that is server-specific

To Bakcup :

# /usr/local/cpanel/bin/cpconftool

/usr/local/cpanel/bin/cpconftool [--restore=file|--backup|--list-modules] [--modules=MODULE,MODULE,MODULE]

# /usr/local/cpanel/bin/cpconftool --backup

Backup Successful

To Restore :


  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

.htaccess Tutorial

.htaccess Tutorial summary In this tutorial you will find out about the .htaccess file and...

cPanel / WHM - How to whitelist your IP at CPHulk

IF IP got banned by CPHulk few times and it is really not a pleasant thing knowing that you...

cPanel Exim How To Clear The Mail Queue

Here’s the proper way to clear the exim mail queue on a cpanel server. /etc/init.d/exim...

Creating a cPanel User Account

To create a new account go to WHM >> Account Functions >> Create a New Account. After...


There are many ways that you can transfer files and folder to and from your hosting account. We...