For migrating Reseller and/or Bulk accounts between cPanel servers:: 1) On source server cd /home mkdir /home/Migration cat /etc/trueuserowners |grep reseller_username | awk ‘{print $1}’ | cut -d: -f 1 > Migration.txt for i in `cat Migration.txt`;do /scripts/pkgacct $i; mv /home/cpmove-$i.tar.gz /home/Migration/;done 2) On Destination server vi Migration.txt ( add all username which you want to […]
See MoreTag: destination server
Migrate and restore account from cpanel server
Migrate and restore account from cPanel server to another cpanel server Login to source server : /scripts/whoowns domain.com It shows the username for that domain name. You can create full backup of account which contain all data, database and emails by using following command. #/scripts/pkgacct username Change the permission #chmod 755 /home/cpmove-username.tar.gz Then Move the […]
See MoreUsing wget to download FTP folders
Using wget to download FTP folders If you want to copy all of the files and folders from one host to another by using the ftp account. Then use the following command to download the files/folders on remote server by using wget. Use this command on destination server. wget -m ftp://username:password@ip.of.old.host Some on the hosting […]
See More