Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

Migrating cPanel Settings to New Server?

Comments

9 comments

  • cPanelMichael
    Hello, You could utilize "WHM >> Transfer Tool" to migrate service configurations, as documented at: Transfer Tool - Documentation - cPanel Documentation Also, you may find this document helpful: The cpconftool Script - Documentation - cPanel Documentation You should not face compatibility issues when transferring accounts from a server with cPanel 56 to a server with cPanel 58. As far as Apache/PHP, you can create a build profile as documented at: EasyApache 4 - Create a profile - EasyApache 4 - cPanel Documentation Thank you.
    0
  • jazee
    I've been using EasyApache 3 for config changes. So I can switch to EasyApache 4? I've always wondered why both options are provided?
    0
  • cPanelMichael
    I've been using EasyApache 3 for config changes. So I can switch to EasyApache 4? I've always wondered why both options are provided?

    Hello, The following blog post is a helpful introduction to EasyApache 4: 5 Reasons You Want to be Using EasyApache 4 | cPanel Blog Let us know if you have any questions. Thanks!
    0
  • jazee
    If there ends up being a problem with the conversion, is there an easy way to revert back to the previous EasyApache 3 config?
    0
  • cPanelMichael
    If there ends up being a problem with the conversion, is there an easy way to revert back to the previous EasyApache 3 config?

    Yes, the full steps are documented at: How to Install or Uninstall EasyApache 4 - EasyApache 4 - cPanel Documentation Keep in mind you can only uninstall EasyApache 4 if you migrated your system from EasyApache 3. Thank you.
    0
  • jazee
    So I could find information about transferring EasyApache profiles between servers but it was written for EasyApache 3. The custom folder path is different in EasyApache 4. I found the EA4 custom folder. Is the process the same as documented in EA3 transfer or has your documentation not caught up with your production releases quite yet? The migration from EA3 to EA4 created a profile: ea3_state_at_migration-1470339386.json in the EA4 custom profile folder. This doesn't have the yaml extension though. So where it the equivalent instructions to this document (below) but for EA4? Is there not a built-in profile export/import function? Seems logical to have one. How to Distribute EasyApache Files Over Multiple Servers - EasyApache - cPanel Documentation
    0
  • cPanelMichael
    Hello, Profiles work differently in EasyApache 4. Documentation is available at: EasyApache 4 - Create a profile - EasyApache 4 - cPanel Documentation Thank you.
    0
  • jazee
    So I copied the EA4 custom profile JSON file that was created when I migrated the old server from EA3 to EA4 just recently. The profile showed up in the profiles list (at the bottom) on my new server in EA4. I attempted to provision it and got a bunch of update errors and it would not allow me to provision it. Both servers were using the Default Cpanel builds using EA3. Both are updated to the latest WHM 58. So I'm a bit surprised there were errors? It ends up saying there are no packages to install or update. Is this essentially saying for some reason the apache packages on the new server are all the same or newer than the old server? But aren't there other config settings that must be different considering I used EasyApache 3 on the old server to make some minor changes to the default profile before migrating to EA4? Update Error: Error: Package: ea-apache24-mod_authn_dbd-2.4.23-2.2.1.cpanel.x86_64 (EA4) Requires: ea-apache24-mod_dbd = 2.4.23-2.2.1.cpanel Removing: ea-apache24-mod_dbd-2.4.23-2.2.1.cpanel.x86_64 (@EA4) ea-apache24-mod_dbd = 2.4.23-2.2.1.cpanel Available: ea-apache24-mod_dbd-2.4.16-4.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.16-4.1 Available: ea-apache24-mod_dbd-2.4.16-4.2.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.16-4.2 Available: ea-apache24-mod_dbd-2.4.16-4.3.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.16-4.3 Available: ea-apache24-mod_dbd-2.4.16-5.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.16-5.1 Available: ea-apache24-mod_dbd-2.4.16-6.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.16-6.1 Available: ea-apache24-mod_dbd-2.4.16-6.2.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.16-6.2 Available: ea-apache24-mod_dbd-2.4.16-8.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.16-8.1 Available: ea-apache24-mod_dbd-2.4.16-9.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.16-9.1 Available: ea-apache24-mod_dbd-2.4.17-1.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.17-1.1 Available: ea-apache24-mod_dbd-2.4.17-2.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.17-2.1 Available: ea-apache24-mod_dbd-2.4.17-3.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.17-3.1 Available: ea-apache24-mod_dbd-2.4.17-3.2.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.17-3.2 Available: ea-apache24-mod_dbd-2.4.17-3.3.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.17-3.3 Available: ea-apache24-mod_dbd-2.4.18-1.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.18-1.1 Available: ea-apache24-mod_dbd-2.4.18-2.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.18-2.1 Available: ea-apache24-mod_dbd-2.4.18-3.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.18-3.1 Available: ea-apache24-mod_dbd-2.4.18-4.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.18-4.1 Available: ea-apache24-mod_dbd-2.4.18-5.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.18-5.1 Available: ea-apache24-mod_dbd-2.4.18-5.2.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.18-5.2 Available: ea-apache24-mod_dbd-2.4.18-6.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.18-6.1 Available: ea-apache24-mod_dbd-2.4.18-7.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.18-7.1 Available: ea-apache24-mod_dbd-2.4.20-1.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.20-1.1 Available: ea-apache24-mod_dbd-2.4.20-2.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.20-2.1 Available: ea-apache24-mod_dbd-2.4.20-3.1.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.20-3.1 Available: ea-apache24-mod_dbd-2.4.20-4.4.4.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.20-4.4.4 Available: ea-apache24-mod_dbd-2.4.20-4.5.1.cpanel.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.20-4.5.1.cpanel Available: ea-apache24-mod_dbd-2.4.20-6.6.1.cpanel.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.20-6.6.1.cpanel Available: ea-apache24-mod_dbd-2.4.23-1.1.1.cpanel.x86_64 (EA4) ea-apache24-mod_dbd = 2.4.23-1.1.1.cpanel
    0
  • cPanelMichael
    Hello, Try using the /usr/local/bin/ea_current_to_profile script to create the EasyApache 4 profile on the source server, and then copy this from from "/etc/cpanel/ea4/profiles/custom/" to the same location on the destination server. You should then see the profile in "WHM >> Software >> EasyApache 4 on the destination server. This script is documented at: EasyApache 4 - ea-config-tools - EasyApache 4 - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.