17.06.2013 Views

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

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.

❑ Differential: This might be referred to as a “backup since” backup. When you take a differential<br />

backup, it only writes out a copy of the extents (see Chapter 9 if you’ve forgotten) that have<br />

changed since you did the last full backup. These typically run much faster than a full backup<br />

does and will take up less space. How much less? Well, that depends on how much your data<br />

actually changes. For very large databases where backups can take a very long time to run, it is<br />

very common to have a strategy where you take a full backup only once a week or even only<br />

once a month, and then take differential backups in between to save both space and time.<br />

❑ Transaction Log: This is again just what it sounds like: a copy of the transaction log. This option<br />

will show up only if your database is set to Full or Bulk logging. (This option is hidden if you<br />

are using simple logging.) Again, full discussion of what these are is coming up shortly.<br />

A subtopic of the backup type is the backup component, which applies only to full and differential backups.<br />

For purposes of this book, we should pretty much just be focused on backing up the whole database.<br />

That said, you’ll notice another option titled Files and Filegroups. Back in our chapters on database<br />

objects and creating databases, we touched briefly on the idea of filegroups and individual files for data<br />

to be stored in. This option lets you select just one file or filegroup to participate in for this backup; I highly<br />

recommend avoiding this option until you have graduated to the “expert” class of <strong>SQL</strong> <strong>Server</strong> user.<br />

Again, I want to stress that you should avoid this particular option until you’ve got yourself something<br />

just short of a doctorate in <strong>SQL</strong> <strong>Server</strong> Backups. The option is for special use, designed to help with very<br />

large database installations (figure terabytes) that are in high-availability scenarios. There are major<br />

consistency issues to be considered when taking and restoring from this style of backup, and they are<br />

not for the faint of heart.<br />

Backup Set<br />

A backup set is basically a single name used to refer to one or more destinations for your backup.<br />

<strong>SQL</strong> <strong>Server</strong> allows for the idea that your backup may be particularly large or that you may otherwise<br />

have reason to back up across multiple devices — be it drives or tapes. When you do this, however, you<br />

need to have all the devices you used as a destination available to recover from any of them — that is,<br />

they are a “set.” The backup set essentially holds the definition of what destinations were involved in<br />

your particular backup. In addition, a backup set contains some property information for your backup.<br />

You can, for example, identify an expiration date for the backup.<br />

Destination<br />

This is where your data is going to be backed up to. Here is where you define one or more destinations<br />

to be utilized for one backup set. For most installations this will be a file location (which later will be<br />

moved to tape), but you can also define a backup device that would let you go directly to tape or similar<br />

backup device.<br />

Options<br />

Chapter 19: Playing Administrator<br />

In addition to those items we just covered from the General node of the dialog box, you also have a node<br />

that lets you set other miscellaneous options. Most of these are fairly self-describing. Of particular note,<br />

however, is the Transaction Log area.<br />

577

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

Saved successfully!

Ooh no, something went wrong!