HostOnNet Blog


Move Large Cpanel sites with pkgacct

When moving large site with pkgacct, you can use –skiphomedir option, this will not include user home directory in backup file pkgacct create.

/scripts/pkgacct --skiphomedir CPANEL_USERNAME

You need to move the user home directory with rsync

This can be done with command

rsync -avz "-e ssh -p 22" /home/CPANEL_USERNAME/ root@NEW_SERVER_IP:/home/CPANEL_USERNAME/

Back to Backup


Posted in Cpanel Server