Link to home
Start Free TrialLog in
Avatar of Akostech
AkostechFlag for United States of America

asked on

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.  
Avatar of eabeukes
eabeukes

Can you post your edited script and the errors you get?
Avatar of Akostech

ASKER

@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.
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?
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.
ASKER CERTIFIED SOLUTION
Avatar of Akostech
Akostech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial