Live registration reopens October 1, 2026, in 11d 20h 44mNotify me

Backup, Restore, and Database Integrity

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

292 associated posts117 primary posts

Production DBA

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 about How to BACKUP LOG WITH TRUNCATE_ONLY in SQL Server 2008, R2, 2012, 2014, 2016, 2017, 2019 66 comments — Join the discussion

Brent’s Backup Bottleneck: MSDB

Backup speed isn't the sexiest thing DBAs spend time on during the day. It's kind of boring.

Backups don't complain that they're not running fast enough.  Users, those are the ones who complain: "My query's not fast enough.  Why can't I do a cross join between data warehouse tables?"  The squeaky wheel gets the lube, so we bend the users over the - wait, where was I going with that?

Read more about Brent’s Backup Bottleneck: MSDB 31 comments — Join the discussion
Production DBA

More On the Carbonite Backup Failures

David Friend, the CEO of Carbonite, left a comment on my blog entry about Carbonite.  I'd like to applaud his efforts for taking the time to do that, but the comment raised some ugly questions.  It appears that they were putting data on 15-drive RAID 5 arrays.  RAID 5 is the most cost effective array setup (other than RAID 0, which offers no data protection).

Read more about More On the Carbonite Backup Failures 11 comments — Join the discussion
Production DBA

Dev, Test and Production SQL Server Environments

In a perfect world, my test/QA servers get restored nightly from production. Let's say every night at 9pm, the production full backups kick off, and they're finished by 10pm. At 11pm, the QA box kicks off a restore job that grabs the latest full backups off the file share and restores them. The production backups are written to a file share, never local storage, so there's no additional overhead on the production box for this restore process.

Read more about Dev, Test and Production SQL Server Environments 91 comments — Join the discussion
Production DBA

Another backup failure: Carbonite

TechCrunch reports that Carbonite, an online backup company, lost customer data.

But wait, this is different: it's not their fault.  They're suing Promise Technology, makers of popular storage gear, for selling them bogus equipment.  Bogus equipment?  You mean, like hard drives that fail?  That's horrible!  Who could expect something like that?  Who could know about the dangers that lurk around every corner?

Read more about Another backup failure: Carbonite 32 comments — Join the discussion

Why back up? Ask JournalSpace.

When your managers ask you that question, point them to the sad story of JournalSpace.com. The company evaporated on December 30, 2008 because they didn't have a backup.

They were relying on their RAID drive mirrors to keep their data safe, but that only protects you from hard drive failures - not from application errors or server errors or heaven forbid, malicious users who delete data.

Read more about Why back up? Ask JournalSpace. 9 comments — Join the discussion
Production DBA

SQL Server Backup Software: Part 1 – Why Native SQL Backups Suck

Before we start looking at SQL Server backup compression software, we need to spend a few minutes looking at the weaknesses of the native SQL Server backup process. In order to judge the fixes, we have to know what's broken. Native SQL Server backups take the same disk space as the data. When we back…

Read more about SQL Server Backup Software: Part 1 – Why Native SQL Backups Suck 6 comments — Join the discussion