Solved

rsync and multiple servers

Posted on 2011-02-14
6
697 Views
Last Modified: 2013-11-15
I have an rsync daemon setup on a windows server that is backing up other windows servers.  I will need to backup 20 servers to this backup rsync server.  Will I have to setup multiple path modules in the rsync.conf file to make sure the correct folder gets copied?  will I need one for each individual server?  example:


[houbdc01]
path = //chadtest01/f$/houbdc01/public
read only = false
transfer logging = yes

[houbdc01]
path = //chadtest01/f$/houbdc01/users
read only = false
transfer logging = yes

[pevbdc01]
path = //chadtest01/f$/pevbdc01/public
read only = false
transfer logging = yes

[pevbdc01]
path = //chadtest01/f$/pevbdc01/public
read only = false
transfer logging = yes

I have multiple servers with multiple paths that need to by rsynced...any ideas on how this can be done more efficiently.  

Without the daemon I would run the rsync:

rsync  -v -rlt --progress --stats --delete "/cygdrive/v/Users/" "jaxback02::u/%computername%/Users/" 1>>

But the daemon doesn't support variables.
0
Comment
Question by:Akostech
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:saranyannarayanan
Comment Utility
you should be able to use a batch file to do it.
0
 

Author Comment

by:Akostech
Comment Utility
could you give an example?
0
 
LVL 3

Expert Comment

by:saranyannarayanan
Comment Utility
Can you explain briefly about the deamon process?

A batch job can be written which has rsync( using cygwin ) and parameters passed using a properites file .
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 3

Expert Comment

by:saranyannarayanan
Comment Utility
0
 

Author Comment

by:Akostech
Comment Utility
I have already been there.  That does not match my scenario
0
 
LVL 3

Accepted Solution

by:
klover earned 500 total points
Comment Utility
When you set up the remote side you can specify a destination path.  I have one path module on my host (Backups) but have 6 or 7 different machines pushing backups to it.  If you happen to be using deltacopy, you right click as shown in the attached and then you can specify a destination subfolder.

 DeltaCopy Screen Shot
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

728 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