Warning: count(): Parameter must be an array or an object that implements Countable in /home/cbc8fzob0jbt/domains/uhleeka.com/html/blog/wp-content/plugins/uhleeka-codebox/uhleeka-codebox.php on line 65
To transfer a large amount of data (200GB) across a 100mbps network without saturating the connection, I used rsync with the –bwlimit=KBps flag.
Transferring from Windows to Ubuntu 9.04, I first mounted the windows share:
sudo mkdir /mnt/winshare sudo mount -t smbfs -o username=user,password=pass //winserver/share /mnt/winshare
Next, run rsync with a specified bwlimit. Optionally, unmount the share
sudo rsync -vrR --delete --delete-excluded --bwlimit=6144 /mnt/winshare/* /destination/ sudo umount /mnt/winshare