30.06.2013 Views

SQL Server Backup and Restore - Simple Talk

SQL Server Backup and Restore - Simple Talk

SQL Server Backup and Restore - Simple Talk

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2: Planning, Storage <strong>and</strong> Documentation<br />

My experience suggests that advances in controller architecture along with increases in<br />

disk speed <strong>and</strong> cache storage have "leveled the playing field." In other words, don't worry<br />

overly if your read-heavy database is on RAID 10, or a reasonably write-heavy database is<br />

on RAID 5; chances are it will still perform reliably, <strong>and</strong> well.<br />

Network device<br />

The last option for storing our backup files is the network device. Having each server<br />

backing up to a separate folder on a network drive is a great way to organize all of the<br />

backups in one convenient location, which also happens to be easily accessible when<br />

dumping those files to tape media for offsite storage.<br />

We don't really care what form this network storage takes, as long as it is as stable <strong>and</strong><br />

fault tolerant as possible, which basically means RAID storage. We can achieve this via<br />

specialized Network Attached Storage (NAS), or simply a file server, backed by physical<br />

disks or SAN-attached space.<br />

However, as discussed earlier, backing up directly to a network storage device, across a<br />

highly utilized network, can lead to latency <strong>and</strong> network outage problems. That's why<br />

I generally still recommend to backup to direct storage (DAS or SAN) <strong>and</strong> then copy<br />

the completed backup files to the network storage device. A good solution is to use a<br />

scheduled job, schedulable utility or, in some cases, a third-party backup tool to back up<br />

the databases to a local drive <strong>and</strong> then copy the results to a network share. This way, we<br />

only have to worry about latency issues when copying the backup file, but at least at this<br />

stage we don't put any additional load on the <strong>SQL</strong> <strong>Server</strong> service; if a file copy fails, we<br />

just restart it. Plus, with utilities such as robocopy, we have the additional safety net of<br />

the knowing the copy will automatically restart if any outage occurs.<br />

58

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!