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.

❑ Simple: Under this model, the transaction log essentially exists merely to support transactions<br />

as they happen. The transaction log is regularly truncated, with any completed or rolled back<br />

transactions essentially being removed from the log (not quite that simple, but that is the effect).<br />

This gives us a nice tight log that is smaller and often performs a bit better, but the log is of zero<br />

use for recovery from system failure.<br />

For most installations, full recovery is going to be what you want to have for a production-level database.<br />

End of story.<br />

Recovery<br />

This is something of the reverse of the backup side of things. You’ve done your backups religiously, and now<br />

you want to restore one, either for recovery purposes or merely to make a copy of a database somewhere.<br />

Once you have a backup of your database, it’s fairly easy to restore it to the original location. To get<br />

started, it works much as it did for backup: Navigate to the database you want to restore to and rightclick;<br />

then select Tasks ➪ Restore and up comes your Restore dialog box, as shown in Figure 19-16.<br />

Figure 19-16<br />

Chapter 19: Playing Administrator<br />

As long as what you’re after is to take your old backup and slam it over the top of the database you<br />

made the backup of, this is pretty straightforward; simply say OK, and it should restore for you without<br />

issue.<br />

579

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

Saved successfully!

Ooh no, something went wrong!