Rsync Tutorial
From Docupedia
Quick and dirty:
I had a user who had a folder on his windows machine called music. It was about 53gb's big and he wanted to update the backup copy on my media repository which was only 50gb's. The solution I came up with was this. Have him share the folder on his windows box. Then I went to my repo and mounted the shared drive using the following commmand:
%> mount -t smbfs -o username=foobar //usermachine/music /media/music
Once it was mounted it was just a matter of pulling out our trusty rsync swiss army knife and giving the following command:
%> rsync -urz /media/music /srv/music/unsorted/Jeff/
Some stuff to notice here. The -urz means update recursive and compress. So as its sending the data over the network its compressing it on the fly to save on bandwidth. /media/music is where the remote folder is mounted and /srv/music/unsorted/Jeff/ is the spot on the repo where the old backup of his music was. After running this command all the folders that existed in the /media/music on the windows box were updated to the /srv/music/unsorted/Jeff/
I'm assuming the 53Gb of music was all legal backup copies of purchased music... am i correct? - Bryan Rite
