Akostech
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_l ogs\%compu tername%_r sync.log
This works great for my testing. i need to change the remote directory now. I need it to say something like jaxback02::u:/%computernam e% 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.
rsync --chmod=ugo=rwX -rlt --delete /cygdrive/V/ jaxback02::Test/ 1>>\\jaxback02\f$\backup_l
This works great for my testing. i need to change the remote directory now. I need it to say something like jaxback02::u:/%computernam
Can you post your edited script and the errors you get?
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.
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?
ASKER
rsync -rlt -v --stats --progress --delete /cygdrive/V/ jaxback02::u/%computername %// 1>>\\jaxback02\f$\backup_l ogs\%compu tername%_r sync.log
u: is an actual drive on the destination server.
u: is an actual drive on the destination server.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.