From the source server type the following commands:
cat /etc/userdomains | grep domainname.tld
Then reate backup of the account you need to transfer, Run the following :
/scripts/pkgacct <accountname>
Backup file cpmove-account-name.tar.gz will create in /home directory
Login to the destination server via ssh and copy the cpmove-account-name.tar.gz from the source server to destination server using scp:
scp -P port root@destinationIP:/home/cpmove-$user.tar.gz /home/
Restore the copied Backup file in destination server. Run the following:
/scripts/restorepkg account-name
--
No comments:
Post a Comment