Safeguarding a Database Prior to Making Mass Changes

Often, you plan regular events against your database tables that result in some type of mass update being applied to big portions of the database. If you do a quick database snapshot before any of these types of changes, you are essentially creating a nice safety net for rapid recovery in the event you are not satisfied with the mass update results. Figure 28.7 illustrates this type of safeguarding technique.

Image

FIGURE 28.7 Creating a before database snapshot prior to scheduled mass updates to a database.

If you are not satisfied with the entire update operation, you can use RESTORE DATABASE

Get Microsoft® SQL Server 2012 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.