Solved

rsync and multiple servers

Posted on 2011-02-14
6
711 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
[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
6 Comments
 
LVL 3

Expert Comment

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

Author Comment

by:Akostech
ID: 34909945
could you give an example?
0
 
LVL 3

Expert Comment

by:saranyannarayanan
ID: 34909979
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
Give Your Engineering Team a Productivity Boost

Learn why container technology is so powerful and how it can provide your team with productivity gains and other benefits.

 
LVL 3

Expert Comment

by:saranyannarayanan
ID: 34909995
0
 

Author Comment

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

Accepted Solution

by:
klover earned 500 total points
ID: 34991463
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

628 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