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 :


Was this answer helpful?

 Print this Article

Also Read

Password Protect a folder on your website

Overview This article explains how to add password protection to a folder on your website What...

How to create a cPanel user account?

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

How to change Admin password in VestaCP?

To change admin password for vestaCP follow below steps.1. Login to putty by root password.2....

.htaccess Tutorial

Summary In this tutorial you will find out about the .htaccess file and the power it has to...

How to prevent users from creating certain domains?

The control panel WHM & cPanel allows you to prevent cPanel users from creating certain...