Solved

rsync and multiple servers

Posted on 2011-02-14
6
710 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Fine Tune your automatic Updates for Ubuntu / Debian
This article was originally published on Monitis Blog, you can check it here . If you have responsibility for software in production, I bet you’d like to know more about it. I don’t mean that you’d like an extra peek into the bowels of the sourc…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

734 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