Akostech
asked on
rsync and multiple servers
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/p ublic
read only = false
transfer logging = yes
[houbdc01]
path = //chadtest01/f$/houbdc01/u sers
read only = false
transfer logging = yes
[pevbdc01]
path = //chadtest01/f$/pevbdc01/p ublic
read only = false
transfer logging = yes
[pevbdc01]
path = //chadtest01/f$/pevbdc01/p ublic
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/%computernam e%/Users/" 1>>
But the daemon doesn't support variables.
[houbdc01]
path = //chadtest01/f$/houbdc01/p
read only = false
transfer logging = yes
[houbdc01]
path = //chadtest01/f$/houbdc01/u
read only = false
transfer logging = yes
[pevbdc01]
path = //chadtest01/f$/pevbdc01/p
read only = false
transfer logging = yes
[pevbdc01]
path = //chadtest01/f$/pevbdc01/p
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/%computernam
But the daemon doesn't support variables.
you should be able to use a batch file to do it.
ASKER
could you give an example?
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 .
A batch job can be written which has rsync( using cygwin ) and parameters passed using a properites file .
ASKER
I have already been there. That does not match my scenario
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.