Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Rsync and windows shares

Posted on 2009-07-09
5
Medium Priority
?
927 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
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 setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

719 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