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: source 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 MoreBackup script for reseller account
Following are the steps to take increment backup of reseller account on backup server. 1) First we need to find out the user name which is under the reseller account. On shared/source server :- vi /home/resellerUsername/backup.sh # For finding the username under the reseller account cat /etc/trueuserowners | grep resellerUsername | awk -F: ‘{print $1}’ […]
See More