December 09, 2004

Pull rsync from remote Linux box to Windows box

cwRsync - General - ITeF!x Consulting. Finally got rsync to work so that I can do a backup of my home directories of my Linux box to my Windows PC. I just made a simple batch file (.cmd for XP or NT) and put the following command in it:

C:\Progra~1\cwrsync\rsync -e C:\Progra~1\cwrsync\ssh -av --progress --exclude "/home/pictures" --exclude "/home/videos" --exclude "tmp" root@[remoteserver]:/home "/cygdrive/c/Documents and Settings/Auth User/My Documents/linuxbackupdir"

If you run a VPS from RimuHosting or any other service that offers you your own Linux box, then you need rsync setup so that you can have a local backup in case of a tragic mishap.

Posted by johnvu at December 9, 2004 11:51 AM
Post a comment