Backup and Recovery

DBA Nightmare: SQL Server Down, No Plans

Managing data is about managing risk, but no matter how we good we are at managing risks, they’re still risks. We’ve seen several high-profile data failures recently: Sony’s database of Playstation users and financial data was hacked Amazon’s supposedly independent cloud services went down together, and some data was lost permanently The state of Texas…
Read More

SAN Snapshot Smackdown

Backup and Recovery, Storage
36 Comments
On Twitter, several SAN pros were saying their snapshots can pull off some nifty stuff.  Well, it’s time to find out just how true that is. Let’s say we have a data warehouse with: One 2TB database, using SQL Server partitioning – needs 8 data files and 1 log file One 200GB database for reporting…
Read More

Why Are You Backing Up?

Backup and Recovery
1 Comment
We focus so much on the fine-grained details of exactly when and where we’re backing up our servers.  Sometimes it helps to take a quick step back and ask what we’re trying to protect ourselves, because it’ll help us do a better job of designing a recovery strategy. Dude, Where's My Datacenter? From small problem…
Read More

How to BACKUP LOG WITH TRUNCATE_ONLY in SQL Server 2008, R2, 2012, 2014, 2016, 2017, 2019

BACKUP LOG WITH TRUNCATE_ONLY is a dangerous command: it empties out the contents of your SQL Server’s transaction log without really backing it up.  Database administrators sometimes run this command right before shrinking their log file with a DBCC SHRINKFILE command, thereby freeing up drive space. Why ‘truncate_only’ is not a recognized backup option. When…
Read More