Launch week: the Season Pass & Fundamentals Week are 50% off — ends in 16d 08h 55mSee the sale

Category: Backup and Recovery

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
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
Production DBA

Mirrors aren’t backups

Are you using any of these technologies as a method of database protection?

Database mirroring (keeping two database servers synchronized with the same data via SQL 2005/2008)
Replication (copying records between databases)
Log shipping (copying log files to another server and restoring them immediately)
SAN-based mirroring (storing two copies of your database on two different sets of disks)

Read more about Mirrors aren’t backups 3 comments — Join the discussion
Production DBA

SQL Backup Software: Part 5 – Justifying the Cost

I've talked about how a SQL backup compression program can help database administrators, but now it's time to convince the boss. We have to sell management on why it's worth the money. First, a few words about my approach to database administration, because I think it'll help DBAs in general. Being a database administrator is…

Read more about SQL Backup Software: Part 5 – Justifying the Cost 2 comments — Join the discussion
Production DBA

SQL Backup Software: Part 4 – Features Still Missing

In this issue of my multi-part series about SQL Server backup compression software, I'm going to talk about some features that database administrators might find useful, but don't yet exist in the current generation of backup software. In-Depth Backup & Restore Progress Monitoring On multi-terabyte data warehouses – especially those running new backup compression software…

Read more about SQL Backup Software: Part 4 – Features Still Missing 1 comment — Join the discussion
Production DBA

SQL Backup Software: Part 3 – New Features for Backup/Restore

In the last decade, Microsoft has brought SQL Server a long way - bringing in things like .NET code, data encryption, partitioning, and a darned slick management user interface. But one of the things that hasn't changed has been the process of backing up and restoring data. We still back up to a file, and…

Read more about SQL Backup Software: Part 3 – New Features for Backup/Restore 5 comments — Join the discussion
Production DBA

SQL Backup Software: Part 2 – Quad Cores are Changing the Game

In my last post, Why Native SQL Backups Suck, I talked about the weaknesses of native SQL Server backups. Today, I'm going to extend that a little by talking about one of the greatest surprises for DBAs in recent history: the advent of dirt-cheap multi-core processors that don't cost extra for SQL licensing. How SQL…

Read more about SQL Backup Software: Part 2 – Quad Cores are Changing the Game 4 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