You may have two points of trouble. First, you need to specify something to
get it to be recursive. I use -a, which covers most everything. I also use R
for relative paths. I think that you might also have trouble with the
"/usr/bin/ssh -l dplbackup" part. Try this:
C:\cygwin\bin\rsync.exe -aR -e c:\cygwin\bin\ssh.exe -l dplbackup
/cygdrive/d/user_dpl electric:/raid/backups/dpllaptop
OR, if you don't do c:\cygwin\bin\ , you might try
/cygdrive/c/cygwin/bin/ssh.exe
I have never been able to get the -l command to work in Windows, though.
Instead, you might try:
C:\cygwin\bin\rsync.exe -aR -e c:\cygwin\bin\ssh.exe /cygdrive/d/user_dpl
dplbackup@electric:/raid/backups/dpllaptop
Trey Nolen
>
> I'm using Cygwin on Windows which I just downloaded and I'm trying
to set
> up an rsync backup. I'm using an .bat script to copy the files, but it
> gives the error message:
>
> Skipping directory /cygdrive/d/user_dpl
>
>
> Following is the script:
>
>
> @echo off
>
> C:
> C:\cygwin\bin\rsync.exe -e "/usr/bin/ssh -l dplbackup"
/cygdrive/d/user_dpl electric:/raid/backups/dpllaptop>
>
> I'm confused, since it should not be skipping anything - I no excludes
at
> all.
>
> Paul
>
>
>
> --
> To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>