This article provides a guide for how to clone cPanel Packages from command line interface (root-level access required).
Clone cPanel Packages from Command Line
For cPanel server administrators, it may be helpful to create a clone of an existing Package. Here are the steps to clone cPanel Packages from the command line:
- Login via SSH as root.
- Run the following command to clone "existing" Package to "cloned" Package:
cp /var/cpanel/packages/existing /var/cpanel/packages/cloned
Replace "existing" with name of Package to clone. Replace "cloned" with the desired name of the newly-cloned Package.
That's it. You should now find the cloned Package from the "Edit a Package" interface in WHM, as well as be able to assign the Package during Account Creation.
Conclusion
You now know how to clone cPanel Packages from command line interface.