Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Rsync and windows shares

Posted on 2009-07-09
5
Medium Priority
?
933 Views
Last Modified: 2013-12-01
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.  
0
Comment
Question by:Akostech
  • 3
  • 2
5 Comments
 
LVL 6

Expert Comment

by:eabeukes
ID: 24821093
Can you post your edited script and the errors you get?
0
 

Author Comment

by:Akostech
ID: 24839001
@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
 
LVL 6

Expert Comment

by:eabeukes
ID: 24839165
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
 

Author Comment

by:Akostech
ID: 24839215
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
 

Accepted Solution

by:
Akostech earned 0 total points
ID: 24839811
nevermind I got it to work by mapping the remote drive locally and then deleting the drive after its finished
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
"Any files you do not have backed up in at least two [other] places are files you do not care about."
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question