cPanel Migration Back-End

 

  1. Steps to be followed before cpanel account migration
  1. To check the size of each accounts, perform the below mentioned steps

    login to source server

    cd /home/username

    du -sch ./*

  2. Check the list and size of all databases of each domain
  3. Check the mail accounts and its size of each domain
  4. Check the open ports to find the active services
  5. Check the MySQL, easyapache versions
  1. Steps followed during the migration process

Backup process:

  • Login to the source server

screen -S backup

/scripts/pkgacct user_name

Ctrl + AD

(after completion of backup process)

cd /home

ls -altr

mv cpmove-username.tar.gz /usr/local/apache/htdocs

cd /usr/local/apache/htdocs

chmod 644 cpmove-username.tar.gz

chown username:username cpmove-username.tar.gz

browser source_server-ip/cpmove-username.tar.gz

Restoration Process:

  • Login to destination server

cd /home

wget source_server-ip/cpmove-username.tar.gz

/scripts/restorepkg cpmove-username.tar.gz

Verify the size of backup files using md5sum

The md5sum is designed to verify data integrity using  Message Digest Algorithm 5.

MD5 is 128-bit cryptographic hash and if used properly it can be used to verify file authenticity and integrity.

How to check?

Login to the source server

  1. Execute #md5sum /usr/local/apache/htdocs/cpmove-username.tar.gz
  2. Note the result
  3. Login to the destination server
  4. Execute #md5sum /home/cpmove-username.tar.gz
  5. Crosscheck both the results (It should be same in both the servers)
  6. Steps to be followed before migration

Login to the destination server

  1. Check the MySQL, easyapache versions
  2. Check the open ports to find the active services
  3. To check the Size of each accounts, perform the below mentioned steps cd /home/username

        du -sch ./*
  4. Check the list and size of all databases of each domain
  5. Check the mail accounts and its size of each domain

Make sure that the domains are working fine from the destination server by either adding host entry or after changing DNS.

Ensure to provide nameserver details while communicating with customer.

Have a great day...........:)

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

HOW TO MOVE WEBSITE TO NEW HOST BY USING CPANEL?

Step1: Login to your cPanel   Step 2: Click on the “File Manager”   Step 3: It will prompt...

HOW TO RESOLVE FAILED TO OPEN SESSION LOCKFILE ISSUE OF C PANEL?

If you are getting this issue wih CPanel: failed to open session lockfile:...

HOW TO CONFIGURE DOMAIN IN HMAIL SERVER

Click add domain option Enter your domain name goto account section   add your email...

CPANEL LICENSE ACTIVATION…

  1. Just go on this URL  http://verify.cpanel.net  to verify the licence   then, run   2....

HOW TO INSTALL CPANEL ON CENT OS ?

1.  Login to your server via ssh and run below command:- wget http://layer1.cpanel.net/latest...