r/SQLServer • • Jan 02 '19

SQL Server DBA Scripts

Hey All,

I've worked for different companies with different groups of DBAs over the past 10 years and each have had their own set of scripts and methods of troubleshooting, health checking, maintenance etc..

I'd like to standardize these scripts at my current company so I wanted to see if there is a 'Best Practice' set of scripts out there that you would recommend?

Thanks

LAPORTS

41 Upvotes

26 comments sorted by

View all comments

10

u/unholey1 Jan 02 '19

Ola hallengrens scripts are probably the most commonly used for all backup and database maintenance tasks. Just about every DBA I've spoken to either uses them or wants to.

I'd also give another vote for dbatools.io to give you more flexibility in creating your own scripts

2

u/sqldiaries Jan 02 '19

Ola hallengrens scripts are probably the most commonly used for all backup

Has anyone successfully use Ola's backup scripts with DDBoost? That's what we use for backups, but it doesn't use the SQL Server Native backup system - instead it leverages a virtual backup device generated by EMC for Data Domain.

0

u/[deleted] Jan 02 '19

[deleted]

2

u/SaveTheEmpire Jan 02 '19

False.

BackupSoftware Specify third-party backup software; otherwise, SQL Server native backup is performed.

  • Value Description

  • NULL SQL Server native backup (the default)

  • DATA_DOMAIN_BOOST DELL EMC Data Domain Boost

  • LITESPEED Quest LiteSpeed for SQL Server

  • SQLBACKUP Red Gate SQL Backup Pro

  • SQLSAFE Idera SQL Safe Backup

Edit: formatting