How to migrate all CloudLinux settings to another server

Tomado desde:  https://cloudlinux.zendesk.com/hc/en-us/articles/115004277894-How-to-migrate-all-CloudLinux-settings-to-another-server

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 this KB entry:  https://cloudlinux.zendesk.com/hc/en-us/articles/115004517465-How-to-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

 

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Como restaurar Key en CloudLinux

A veces no aparece el cloudLinux en la consola principal.... porque se pierde la llave, ...

No response from subprocess exit 0

Sale:  No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/CloudLinux.cgi)...

Como instalar CloudLinux

It is easy to switch cPanel server from CentOS 5.x or 6.x to CloudLinux. The process takes a...

Desinstalar Cloud Linux

Uninstalling CloudLinux is a fairly involved process, as the CloudLinux repos ship...

Abreviaturas de CloudLunux LVE

Output ID LVE Id or username aCPU Average CPU usage mCPU...