|Say you've got a User with massive amounts of data in:|
/home/username/domains/The easier way to transfer the data is to:
1) Create the backup file without the Domains Directory:
Admin Level -> Admin Backup/Transfer -> Create Backup
Except in the "What" section, de-select the "Domains Directory" option, and create the backup.
This will create a tar.gz backup file, without /home/username/domains, allowing the tar.gz to be much smaller.
2) Transfer and restore the User's tar.gz backup file normally.
3) Since we've skipped the domains directory, we must transfer that data manually. Rsync is the best tool to do this.
- Login to the new box (B), where the data is being transferred to.
- In ssh, as root (or the User you're transferring, if you want, but they need ssh access), type:
rsync -ave 'ssh -p 22' 126.96.36.199:/home/username/domains/ /home/username/domains/where 22 can be replaced with a different port number, and 188.8.131.52 is replaced with the IP of the old server (A). Watch the data fly by, as it's being pulled from the other server to this one.
For increased security, you could enable SSH on the old server (A) for the User being transferred, and change "ssh -p 22" to be ssh -l username -p 22. The will ensure that only user-level access is used when reading files from A. You'd need to know the password of that User.
|Backing up and transferring very large User accounts|
|Backups take too long to create. Use rsync for /home|
© 2003 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST