Reputation: 13
I have all backup files,full differential and transaction log, suppose I have 10 transaction log backup files. if 4th file get deleted then how to restore remaining file.
Upvotes: 0
Views: 479
Reputation: 69564
A continuous sequence of Transaction Log backups are tied by a Log Chain(Log Sequence Number)
, which starts with a FULL backup, unless you do something to break the LSN (TLog Backup with Truncate or change recovery mode etc), you will need to restore these backups in order, without breaking the Log Chain.
For example in your case you can do the following to restore to a point in time:
The log in this backup set begins at LSN 7000000000001, which is too recent to apply to the database. An earlier log backup that includes LSN 7000000000000 can be restored.
RESTORE LOG is terminating abnormally.
Moral of the Story
Unfortunately Transaction log backups must be restored in continuous order without missing out any backup files.
Upvotes: 1