Mastodon

Generic Backups

I support developers.  In our dev/QA environment, people add, delete, and change the recovery model of databases all the time without telling me.  How do I keep track of which databases need to be backed up? I don’t.  I back up everything. Master has information...

Seekrit Message to a Friend

You didn’t get this from me.  You downloaded it off the internet. In fact, why don’t I turn that bunch of scripts into a series of jobs and give it to you as one big lump?  (Download.) How to use: Load file into SQL Server Management Studio. Replace all...

Windows Internal Database Maintenance

“Windows Internal Database,”  is basically SQL Server with network access and the maintenance tools turned off.  You might want to do maintenance on whatever’s in there, anyway.  I use Windows Task Scheduler for that, at least until I move the...

Nagios Plugin – SQL Job Status

I checked out Nagios Exchange, and didn’t see anything that checked the status of a job and used Windows/AD credentials/trusted connection.  So I wrote this. It’s intended to run as an NRPE script, and doesn’t require anything that doesn’t come...

Pin It on Pinterest