Easiest step to migrate large cpanel accounts
Posted: Tue Jul 03, 2012 10:38 am
Here we will discuss the easiest step to migrate large cPanel accounts (one with a lot of files in home folder), assuming that the database size is normal.
First login to the old server and take the backup skipping the home directory.
On the new server restore the files using the command.
First login to the old server and take the backup skipping the home directory.
This process should complete in no time. Once the backup is generated, copy the file to the new server using your convenient method. ( wget or scp or FTP)/scripts/pkgacct --skiphomedir UN
On the new server restore the files using the command.
After the account is restored, make sure to rsync the homefolder using the below command./scripts/restorepkg UN
NOTE : Make sure that " / " in the above command is put correctly.rsync -e ssh -avvz --progress root@IP_ADDRESS:/home/UN /home/