Skip to main content

Backup WHM Configuration (The cpconftool Script)

Comments

8 comments

  • SamuelM
    Hello @ImperialTrader, There is no such module called configuration::to::backup
    . It is simply a placeholder in the tutorial on the documentation page. If you want to backup the WHM configuration, you would use the cpanel::system::whmconf
    module, for example: [root@samtestserver ~]# /usr/local/cpanel/bin/cpconftool --backup --modules=cpanel::system::whmconf Backup Successful /home/whm-config-backup-cpanel__system__whmconf-11.84.0.10-1577840157.tar.gz
    Please let us know if you have any questions. Best regards
    0
  • ImperialTrader
    Hello @ImperialTrader, There is no such module called configuration::to::backup
    . It is simply a placeholder in the tutorial on the documentation page. If you want to backup the WHM configuration, you would use the cpanel::system::whmconf
    module, for example: [root@samtestserver ~]# /usr/local/cpanel/bin/cpconftool --backup --modules=cpanel::system::whmconf Backup Successful /home/whm-config-backup-cpanel__system__whmconf-11.84.0.10-1577840157.tar.gz
    Please let us know if you have any questions. Best regards

    Ohh okay.. Thank you :)
    0
  • ImperialTrader
    @cPSamuel How can I backup and restore to other server the "Packages"?
    0
  • 24x7server
    @cPSamuel How can I backup and restore to other server the "Packages"?

    Do you mean hosting packages? if so, you can use the transfer tool to tranport the packages to the new server and the same can be used to transfer the account as well.
    0
  • ImperialTrader
    Do you mean hosting packages? if so, you can use the transfer tool to tranport the packages to the new server and the same can be used to transfer the account as well.

    Yea I mean hosting packages, but I don't want to transfer the accounts, I just need to to copy the hosting packages only!
    0
  • quietFinn
    Yea I mean hosting packages, but I don't want to transfer the accounts, I just need to to copy the hosting packages only!

    You can copy only the packages with the transfer tool. Just select the packages and no accounts.
    0
  • ffeingol
    As others have said, you can use the transfer system or you can simply use sftp to transfer them between servers. they are in /var/cpanel/packages and are simply text files.
    0
  • ImperialTrader
    You can copy only the packages with the transfer tool. Just select the packages and no accounts.

    As others have said, you can use the transfer system or you can simply use sftp to transfer them between servers. they are in /var/cpanel/packages and are simply text files.

    Perfect, thank you guys :)
    0

Please sign in to leave a comment.