Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitoring SQL Database backups #37

Open
dealproc opened this issue Mar 18, 2014 · 9 comments
Open

Monitoring SQL Database backups #37

dealproc opened this issue Mar 18, 2014 · 9 comments

Comments

@dealproc
Copy link

Is there any plugin available today in this project to monitor any Microsoft SQL Server backups? Same idea/question for Postgres as well.

Our current backup is a shell script (powershell) that gets executed every 6 hours, but I'd like to have something that we can constantly monitor at any given threshold during the day/week. Opserver sounds close to what I'm looking for, but am unsure at this time.

As this is for a startup project, and not a mega-million dollar enterprise, I'm looking at open source initiatives to save a few green-backs instead of spending mega bucks to solve my problem.

Any help/advice would be appreciated.

@NickCraver
Copy link
Member

@dealproc On the databases tab for a server there is the last time a backup ran, and the last time a full backup ran (which would be the same thing if you had only fulls running). There isn't anything more detailed than that, though I'm definitely for adding a backups tab in there since they are insanely important.

What I don't know is what information people want to see, since everyone does backups a little differently. We do fulls and t-logs every 10-15 minutes here, others do fulls + diffs, some just fulls, etc.

So what would you want to see? From a job view of what's running, maybe with a warning section (configurable threshold) for things not backed up in the last<insert timeframe>? (this could be hard if it's never successfully run). More of an overview of all backups, maybe with the job name/status as a column?

Give me ideas here, it wouldn't take long to implement, it just needs to be useful - of course we can always improve once it's in.

@dealproc
Copy link
Author

We do need to roll to fills every 6 hours + transaction logs every 15-30 minutes. That may be the best starting point. the overview statements you made sound like a great starting point for details.

Will setup the project in the next 48 hours and see exactly what does what.

@DForck42
Copy link

DForck42 commented Apr 7, 2014

I know in sp_Blitz it captures whether a database has EVER had a successful full backup and haven't been backed up within the last week. That seems like a good starting place as any.

@NickCraver
Copy link
Member

@thirster42 we monitor this on the databases tab of SQL, but we don't alert on it - alerting is another fun & big project that I'll certainly be considering this request in, it seems like a perfect fit that should be supported to me.

@ConstantineK
Copy link

For me, I think simple/full recovery models would drive different history requirements, due to the different requirements of RPO/RTO if you cant define some custom metrics, then the current default is sane, but I would love to have a method to click on a database that has been backed up at least once and see the last 10 backups, tlog or otherwise.

@NickCraver
Copy link
Member

@ConstantineK I missed this - that's a fantastically simple idea for the database modal view to improve things. I'll make it happen.

@NickCraver
Copy link
Member

@ConstantineK I'll polish it up a lot, but overhaul just got some initial last-100-backups love:
screen shot 2016-01-24 at 10 48 47 pm

@dealproc
Copy link
Author

👍

@GregWhiteDBA
Copy link

tracking backups across availability groups would be good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants