When a database is created, a recovery model is enabled. Microsoft defines a recovery model as a “database property that controls the basic behavior of backup and recovery of the database.” The database’s recovery model controls how its transactions are logged, whether the transaction log can be backed up, and which kinds of restores are supported. SQL Server provides three different recovery models: Simple, Full, and Bulk-Logged.
• |
Simple Recovery Model: With a Simple Recovery Model, log backups are not supported. Therefore, changes since the most recent backup are not protected. In the unfortunate event of failure, these changes must be re-run. PIT recovery is not allowed. |
• |
Full Recovery Model: Full Recovery Model databases require log backups; therefore, no work is lost due to a lost or damaged data file. PIT recovery is supported, assuming backups are complete up to the point-of-failure. |
• |
Bulk-Logged Recovery Model: Bulk-Logged Recovery Model databases require log backups. The Bulk-Logged Recovery Model is a variation of the Full Recovery Model that permits high-performance bulk-copy operations. This model reduces log space usage by bulk-logging most bulk operations. If a log is damaged or bulk-operations have occurred since the most recent Transaction Log backup, these changes must be re-run. PIT recovery is not supported for bulk-logged databases. |
Consider the following when choosing a recovery model for a database:
• |
Simple Recovery Model: The Simple Recovery Model should only be enabled for databases that are not updated frequently such as test, development, or databases mostly containing read-only data. |
• |
Full Recovery Model: The Full Recovery Model should be enabled for transactional databases where full recoverability and preventing work loss in a full range of recovery scenarios is required. |
• |
Bulk-Logged Recovery Model: The Bulk-Logged Recovery Model should be used temporarily when bulk operations, such as bulk inserts or index creation, are performed on Full Recovery Model databases. The Bulk-Logged Recovery Model increases performance and reduces log space consumption during these operations; you can switch databases back to full recovery immediately after the bulk operations have completed. |
For more information, see Recovery Models and Transaction Log Management in the SQL Server Books Online.
After selecting the recovery model that meets your requirements for each database, you can design and implement a corresponding backup strategy. When defining a SQL Server® Online VDI Backup strategy, answer the following questions:
The plug-in provides the following types of Online VDI Backup:
Full Database backups are supported by:
• |
• |
Recovery models: All |
Differential Database backups are supported by:
• |
• |
Recovery models: All |
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center