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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

The reason I offer the option to write the backups to local storage initially, instead of<br />

straight to network storage, is that it avoids the bottleneck of pushing data through the<br />

network. Generally speaking, it's possible to get faster write speeds, <strong>and</strong> so faster backups,<br />

to a local drive than to a drive mapped from another network device, or through a drive<br />

space shared out through a distributed file system (DFS). However, with storage networks<br />

becoming ever faster, it is becoming increasingly viable to skip Step 1, <strong>and</strong> back up the<br />

data <strong>and</strong> log files directly to network storage.<br />

Whether you write first to locally attached storage, or straight to a network share, you'll<br />

want that disk storage to be as fast <strong>and</strong> efficient as possible, <strong>and</strong> this means that we want<br />

to write, not to a single disk, but to a RAID unit, provided either as DAS, or by a SAN. We<br />

also want, wherever possible, to use dedicated backup storage. For example, if a particular<br />

drive on a file server, attached from the SAN, is designated as the destination for our <strong>SQL</strong><br />

<strong>Server</strong> backup files, we don't want any other process storing their data in that location,<br />

competing with our backups for space <strong>and</strong> disk I/O.<br />

Local disk (DAS or SAN)<br />

Next on our list of backup media is the local disk drive. The main benefit of backing up<br />

to disk, rather than tape is simply that the former will be much faster (depending on the<br />

type <strong>and</strong> speed of the drive). Of course, any consideration of local disk storage for backup<br />

files is just as relevant to the storage of the online data <strong>and</strong> log files, since it's likely that<br />

the initial backup storage will just be a separate area in the same overall <strong>SQL</strong> <strong>Server</strong><br />

storage architecture.<br />

Generally speaking, <strong>SQL</strong> <strong>Server</strong> storage tends to consist of multiple disk drives, each<br />

set of disks forming, with a controller, a Redundant Array of Inexpensive Disks (RAID)<br />

device, configured appropriately according the files that are being stored.<br />

52

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

Saved successfully!

Ooh no, something went wrong!