Introduction

In this Knowledge base, you will find the cpconf tool is used to backup and restore the settings if one wishes to migrate to a new server or to copy the configuration files.

Let’s see the Procedure:
The cpconf tool is used to backup and restore the configuration files.

The script is located at

/usr/local/cpanel/bin/cpconftool

To restore a backup, you would use something like this, replacing /home/whm-config-backup-all-1.1-1411229033.tar.gz  with the path to your backup, and --modules= With the modules, you need to restore:

/usr/local/cpanel/bin/cpconftool --restore=/home/whm-config-backup-all-1.1-1411229033.tar.gz --modules=cpanel::smtp::exim

You can use –list-modules to get a list of the available modules on your server.

cpanel::easy::apache
cpanel::smtp::exim
cpanel::system::autossloptions
cpanel::system::backups
cpanel::system::greylist
cpanel::system::hulk
cpanel::system::modsecurity
cpanel::system::mysql
cpanel::system::whmconf
cpanel::ui::themes

For more details on the cpconf tool, please review the documentation at cpconftool script.

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

How to Generate A MIME Type using cPanel

In this article, you will find how to generate a MIME type using cPanel. To…

How Can You Backup and Restore Individual cPanel Account using SSH?

Taking the backup of your hosting account is important for your business to stay afloat…

Reset Plesk’s Admin Password on Windows Server

Reset Plesk’s admin password on Windows Server: Log in to windows server via RDP as…