Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2007 13:18:17 -0400
From:      Lee Capps <lcapps@cteresource.org>
To:        Chris Maness <chris@chrismaness.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Rsync w/ Windows
Message-ID:  <20070316171817.GN15044@hank.cteresource.org>
In-Reply-To: <45FAC664.2040606@chrismaness.com>
References:  <45FAC664.2040606@chrismaness.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070316171817.GN15044>