Moving 500Gb from a server to another isn’t easy!
Especially with thousands of files to move….
I was using scp but connection most of the times was reseted and all that kinda of sh*ts.
rsync does the job. Its awesome. It syncs folders from server1 with server2 and with -z
rsync -avz /home/www/host1/tools.* [email protected]:/home/www/host1
-v, --verbose increase verbosity
-a, --archive archive mode; same as -rlptgoD (no -H)
-z, --compress compress file data during the transfer
Read more at http://linuxcommand.org/man_pages/rsync1.html