rsync to backup windows file on a linux box

Hi,

Do you know how to pass comand to rsync to backup a windows folder on a linux box?

I want to copy c:\\folder from windows to /data/tmp on linux.

I dont know how to pass the windows parameter to:
rsync -avz 192.168.1.4\c:\\folder /data/tmp

Thanks.

Charles.

here is an in-depth tutorial for rsyncing a windows client to a linux server. It seems to be /cygdrive/c/... not c:\\... though if you're not using the cygwin rsync on windows it may be different.

but I forgot to say that rsync is run on the linux disk server, the windows side is not doing anything but being backed up by the rsync (linux).

rsync can't just reach in and grab data from a computer. It won't work unless you're running an rsync server on windows for it to connect to. Here's another set of docs on that.

It's much more straightforward to run the server on linux than windows.

1 Like