To apply a transaction log backup
Important The system administrator restoring the transaction log must be the only person currently using the database where the transaction log will be applied.
It is not possible to apply a transaction log backup:
This example applies a transaction log backup to the MyNwind database.
RESTORE LOG MyNwind
FROM MyNwind_log1
WITH RECOVERY
GO
This example applies multiple transaction log backups to the MyNwind database.
RESTORE LOG MyNwind
FROM MyNwind_log1
WITH NORECOVERY
GO
RESTORE LOG MyNwind
FROM MyNwind_log2
WITH NORECOVERY
GO
RESTORE LOG MyNwind
FROM MyNwind_log3
WITH RECOVERY
GO
Creating and Applying Transaction Log Backups | RESTORE |
Using Differential Database Backups with Transaction Log Backups | Restoring File or Filegroup Backups |