Introduction
The information in this guide is based on the following documentation:
Procedure
- Access your server using SSH as the root user
- List the available modules to help you decide which backups you need to run:
/usr/local/cpanel/bin/cpconftool --list-modules
- Run the backup with the selected modules separated by a comma
/usr/local/cpanel/bin/cpconftool --backup --modules=$module1,$module2
- Transfer the resulting backup to the destination server using your method of choice.
- Restore the backup archive, listing the same modules you used to create the backup:
/usr/local/cpanel/bin/cpconftool --restore=/path/to/backup.tar.gz --modules=$module1,$module2
If you are unsure of which modules you need, the cpconftool script documentation has a detailed description of the available modules.
Comments
0 comments
Article is closed for comments.