Rsync w/ Windows

Lee Capps lcapps at cteresource.org
Fri Mar 16 17:49:20 UTC 2007


At 09:31 Fri 16 Mar 2007, Chris Maness wrote:
>I need to sync a directory with my freebsd box.  In linux/bsd I use the 
>command  rsync -vaur chris at foo.com:/home/chris/beer /home/chris/beer and 
>this works perfectly for me.  However, using the cwrsync package in 
>windows with this syntax does not work.

Do you get an error message when you run the command above?  Since it appears you are able sync to the FreeBSD box from other machines, it sounds like this question is maybe a little OT here.  You might have better luck asking the cwrsync folks.

That having been said, here's what I know.  At work we use cwrsync to backup some Windows boxes to a NAS sharing directories over samba.  Our rsync looks more or less like this (cutting some switches for clarity):

rsync -rvt --delete "/cygdrive/c/Documents and Settings/lcapps" \ 
    //SNAP203762/backups/staff/lcapps/pc_bak

A couple of things -- are you sure you're specifying the "cygdrive" correctly?  How are you accessing the remote box from Windows?  SSH?  (I don't have any experience using rsync that way.)  Our Windows machines are already connected to the shared directory before rsync runs.

Good luck,

-- 
Lee Capps
Technology Specialist
CTE Resource Center




More information about the freebsd-questions mailing list