Live registration reopens October 1, 2026, in 8d 04h 14mNotify me

Category: Backup and Recovery

Production DBA

How to Configure Always On AG Backups with Ola Hallengren’s Scripts

With SQL Server AlwaysOn Availability Groups, you can offload backups to a replica rather than running them on the primary. Here's how to do it:

1. Install Ola Hallengren's utility scripts on all of the replicas. During the install, it creates a laundry list of SQL Agent jobs, but doesn't set up schedules for any of them. More on that in a couple of steps.

Read more about How to Configure Always On AG Backups with Ola Hallengren’s Scripts 91 comments — Join the discussion
Production DBA

How Many Databases Can I Put on One SQL Server?

I've seen servers with thousands of databases on a single SQL Server, and it works. Sure, opening the databases list in SQL Server Management Studio is painful, and a lot of third party monitoring tools fall over, but it's not so bad once you know how to work around these issues.

But there's two issues you can't work around: our old archenemies, RPO and RTO. A quick reminder:

Read more about How Many Databases Can I Put on One SQL Server? 22 comments — Join the discussion
Production DBA

How to Restore a Page in SQL Server Standard and Enterprise Edition

One of the many restore features in SQL Server is the ability to restore one or more pages of data. This can be very convenient in some narrow situations - for example, corruption occurs on one page or an oops update is made to one record. The page restore process is not straightforward, however, and,…

Read more about How to Restore a Page in SQL Server Standard and Enterprise Edition 24 comments — Join the discussion
Production DBA

Doug Broke It: Reporting Services Encryption Keys [Video]

In this 5-minute video, Doug tells about the time he deleted the Reporting Services encryption key, and what it took to fix the damage. You'll learn about what the SSRS encryption key protects, as well when to:

Back up the encryption key
Restore the encryption key
Change the encryption key
Delete the encryption key

Read more about Doug Broke It: Reporting Services Encryption Keys [Video] 3 comments — Join the discussion
Production DBA

Improving the Performance of Backups

There will come a time when your database backups will not be as fast as you would like them to be. Over time, the volume of data you’re storing will grow, and backups will take longer – but your weekly or daily maintenance windows don’t grow as well. Backups can be resource-intensive, using I/O and network resources – and if they’re running when users are trying to work, the users may notice the performance impact.

Read more about Improving the Performance of Backups 22 comments — Join the discussion

How to Winterize Your Database

In Michigan where I grew up, we pull the boats out of the water at the beginning of the fall. It's a bit of a sad time, realizing we're done having fun on the water, and the seasons are about to change.

To prepare a boat for a few months of storage, we drain some fluids, replace others, give it a good cleaning, do some basic maintenance, and put on a tight waterproof cover.

Read more about How to Winterize Your Database 5 comments — Join the discussion

3 Things You Need to Start Doing to Your Database Server

Taking care of your health is incredibly important (says the marathon runner). Eating right, exercising, and getting plenty of rest help you stay healthy and perform optimally. Your database server’s health is important to your company’s health. You need to take regular backups, check for consistency, and keep indexes tuned for optimal performance. Here are…

Read more about 3 Things You Need to Start Doing to Your Database Server 14 comments — Join the discussion
Production DBA

The First Step to the Poor Man’s Runbook

In theory, before you introduce a new system - database server, load balancer, virtualization infrastructure, etc - you build a robust runbook that documents how you'll handle every conceivable scenario.  When there's any kind of failure, you'll simply turn to chapter X and start going through a precise checklist that will guide you to the promised land of uptime.

Read more about The First Step to the Poor Man’s Runbook Be the first to comment

Who’s testing your restores? No, really – who’s testing your restores?

I recently posed the question, “Who’s taking your backups?” This is of utmost importance, because your business’s data is the business. Protecting it and backing it up need to be priorities for DBAs.

Now, for my next question: who is responsible for restoring those backups?

Read more about Who’s testing your restores? No, really – who’s testing your restores? 5 comments — Join the discussion
Production DBA

SQL Server Tricks: How Can I Restore a Subset of My Tables to A Prior Point in Time?

This question came up when working with a client last week. The team mentioned they were planning to move some tables into a new filegroup. The new filegroup is intended to help quickly restore data in cases when a monthly process goes off the rails and leaves the data in some tables in a bad state.

Read more about SQL Server Tricks: How Can I Restore a Subset of My Tables to A Prior Point in Time? 7 comments — Join the discussion