In this article, we have explained how to migrate all CloudLinux settings to another server.
So, let’s get started.
To move LVE and packages limits, just move the /etc/container/ve.cfg file to a new server, and then run # lvectl apply all
If any modifications were made to CageFS – move the /etc/cagefs/cagefs.mp file, and/or /etc/cagefs/conf.d directory to a new server and run
# cagefsctl –force-update && cagefsctl–remount-all
For PHP-Selector – move the /etc/cl.selector directory and run:
# cagefsctl –setup-cl-selector
To restore user’s settings from PHP Selector, please refer to our knowledgebase article: Restore PHP Selector Options After Restore or Migration
Basically, custom PHP settings migration plan is next:
restore user home dirs
remove all cagefs\selector directories with
# rm -rf /var/cagefs/*/*/etc/cl.selector
# rm -rf /var/cagefs/*/*/etc/cl.php.d
regenerate them with
# cagefsctl –force-update-etc
Today, we have learned how our Support Engineers migrate all CloudLinux settings to another server.
[Need assistance to fix this error or install tools? We’ll help you.]