Live registration reopens October 1, 2026, in 11d 19h 07mNotify me

Backup, Restore, and Database Integrity

Backup design, restore testing, integrity checks, and corruption response.

292 associated posts117 primary posts

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

The Second Concern for SQL Server Virtualization: Recoverability

Your first concern is licensing, and once you've got that under control, it's time to talk about backups, restores, and uptime.

The business begins by defining the RPO and RTO requirements for high availability, disaster recovery, and "oops" deletions. Use our High Availability Planning Worksheet and fill in the "Current" column on page 1:

Read more about The Second Concern for SQL Server Virtualization: Recoverability 20 comments — Join the discussion

Log Shipping Magic: Using A Differential Backup to Refresh a Delayed Secondary

Let's say you're a DBA managing a 2TB database. You use SQL Server transaction log shipping to keep a standby copy of the database nice and warm in case of emergency. Lots of data can change in your log shipping primary database: sometimes it's index maintenance, sometimes it's a code release, sometimes it's just natural data processing.

Read more about Log Shipping Magic: Using A Differential Backup to Refresh a Delayed Secondary 31 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

How to Use Partitioning to Make kCura Relativity Faster

kCura Relativity is an e-discovery program used by law firms to find evidence quickly. I've blogged about performance tuning Relativity, and today I'm going to go a little deeper to explain why DBAs have to be aware of Relativity database contents.

In Relativity, every workspace (case) lives in its own SQL Server database. That one database houses:

Read more about How to Use Partitioning to Make kCura Relativity Faster 4 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

Always On Availability Groups, Backup Checksums, and Corruption

The latest version of sp_Blitz® alerts you if you haven't been using the WITH CHECKSUM parameter on your backups. This parameter tells SQL Server to check the checksums on each page and alert if there's corruption. But what about corrupt backups? Books Online says: NO_CHECKSUM - Explicitly disables the generation of backup checksums (and the validation…

Read more about Always On Availability Groups, Backup Checksums, and Corruption 15 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

Introducing the System Databases: Master, Model, MSDB

You've been working with SQL Server for a couple of years, but you're not really sure what's going on in the System Databases folder. What gets stored in Master, Model, and MSDB? What processes use them? In the event of a crash, should you restore them? Brent Ozar will give you an introductory tour in this half-hour video:

Read more about Introducing the System Databases: Master, Model, MSDB 2 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