Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2007 18:04:53 +0100
From:      Roger Olofsson <raggen@passagen.se>
To:        Chris Maness <chris@chrismaness.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Rsync w/ Windows
Message-ID:  <45FACE35.4010300@passagen.se>
In-Reply-To: <45FAC664.2040606@chrismaness.com>
References:  <45FAC664.2040606@chrismaness.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Chris,

May I suggest that you take a peek at 
http://www.itefix.no/phpws/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=6&MMN_position=23:23

As example I have the following syntax in my cwrsync.cmd

(In this example I backup documents and settings from pc to FreeBSD by 
using the script cwrsync.cmd included in the cwrsync distribution. The 
script can be run with the windows scheduler)

rsync --exclude-from=excludefiles.txt -avz --delete -e "ssh -i 
bin/.ssh/identify" "/cygdrive/c/documents and settings/username" 
user@freebsd.server.ip:/path/on/freebsd/server

You will need to create a folder named .ssh in the bin folder of cwrsync 
and in that folder create the necessary ssh keys.

Good luck!



Chris Maness skrev:
> 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.
> 
> Pleas help!
> Thanks...
> 



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