Rsync scripting advice
Posted: Fri Oct 18, 2013 3:51 pm
Hey all,
The Problem:
Every week, I do a backup of my primary server, and restore the backup to the secondary server, which is fired up if primary goes down.
The Good:
We have a server that can take temporarily over if there is an issue with the Primary until the primary is repaired.
The Bad:
when the Secondary gets fired up, it is missing a weeks worth of perfdata, acknowledgments, etc..
(we can live with losing a weeks worth of DB data)
The Ugly:
We have both servers running live with all checks enabled (notifications are disabled on secondary (I am not THAT dumb...))
but for the life of me I can't figure out why I set it up like that... Oh, wait I remember now.
Is there a way, or is it advisable to do the following:
I want to disable all checks on the secondary, since it's data will be overwritten anyway.
Have the perfdata fol...ahem I mean, directory, sync from Primary to Secondary automatically on a set schedule.
I understand that I will have to exclude the perfdata that my backup will contain, but shocking as it is, I think i can handle that...
So does this make sense? Is it doable?
The Problem:
Every week, I do a backup of my primary server, and restore the backup to the secondary server, which is fired up if primary goes down.
The Good:
We have a server that can take temporarily over if there is an issue with the Primary until the primary is repaired.
The Bad:
when the Secondary gets fired up, it is missing a weeks worth of perfdata, acknowledgments, etc..
(we can live with losing a weeks worth of DB data)
The Ugly:
We have both servers running live with all checks enabled (notifications are disabled on secondary (I am not THAT dumb...))
but for the life of me I can't figure out why I set it up like that... Oh, wait I remember now.
Is there a way, or is it advisable to do the following:
I want to disable all checks on the secondary, since it's data will be overwritten anyway.
Have the perfdata fol...ahem I mean, directory, sync from Primary to Secondary automatically on a set schedule.
I understand that I will have to exclude the perfdata that my backup will contain, but shocking as it is, I think i can handle that...
So does this make sense? Is it doable?