Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

rsync and multiple servers

Posted on 2011-02-14
6
Medium Priority
?
714 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
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

972 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