Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

rsync and multiple servers

Posted on 2011-02-14
6
Medium Priority
?
712 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
Not sure which OpenStack Certification to get?

So you’ve realized you might want to get certified in OpenStack, but you’re not sure what the benefits might be or even which one you should take. You know there are several certification courses you can choose from, but how do you know which one is right for you?

 
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 2000 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

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.
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
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…

721 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