Solved

Rsync and windows shares

Posted on 2009-07-09
5
890 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
Comment Utility
Can you post your edited script and the errors you get?
0
 

Author Comment

by:Akostech
Comment Utility
@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
Comment Utility
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
Comment Utility
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
Comment Utility
nevermind I got it to work by mapping the remote drive locally and then deleting the drive after its finished
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

Suggested Solutions

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…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now