Rsync and windows shares

I am using rsync to backup a windows snapshot...I got this working great.  my command line is:
rsync --chmod=ugo=rwX -rlt --delete /cygdrive/V/ jaxback02::Test/  1>>\\jaxback02\f$\backup_logs\%computername%_rsync.log

This works great for my testing.  i need to change the remote directory now.  I need it to say something like jaxback02::u:/%computername% blah blah...  We have folders setup on the U: drive that are sorted by server name.  I can't seem to get this to work.  I keep getting unkown module errors every time.  
AkostechAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
AkostechConnect With a Mentor Author Commented:
nevermind I got it to work by mapping the remote drive locally and then deleting the drive after its finished
0
 
eabeukesCommented:
Can you post your edited script and the errors you get?
0
 
AkostechAuthor Commented:
@ERROR: Unknown module 'u'
rsync error: error starting client-server protocol (code 5) at main.c(1504) [sender=3.0.3]

I get these types of errors.
0
 
eabeukesCommented:
OK looks like you have a script error somewhere, likely a variable or space in the worng place - can you post the complete script here?
0
 
AkostechAuthor Commented:
rsync -rlt -v --stats --progress --delete /cygdrive/V/ jaxback02::u/%computername%//  1>>\\jaxback02\f$\backup_logs\%computername%_rsync.log

u: is an actual drive on the destination server.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.