
Switching Between Full and Bulk-Logged Recovery
For a database that uses full recovery, switching to the bulk-logged recovery model temporarily for bulk operations improves performance. However, if data loss is unacceptable, to prevent data loss, we recommend that you switch to the bulk-logged recovery model only under the following conditions:
-
Users are currently not allowed in the database.
-
No modifications are made during bulk processing that are not recoverable without depending on taking a log backup; for example, by re-running the bulk processes.
We recommend that:
-
Before switching to the bulk-logged recovery model, you back up the log.
This is important because, under the bulk-logged recovery model, if the database fails, backing up the log for bulk operations requires access to the data.
-
After performing the bulk operations, you immediately switch back to full recovery mode.
-
After switching back from the bulk-logged recovery model to the full recovery model, you back up the log again.
Following these recommendations fully protects your data and enables point-in-time recovery. The following figure illustrates these recommendations.
When switching between two recovery models, your backup strategy remains the same: continue performing periodic database, log, and differential backups.