SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Does differential backup creates LSN ?


Does differential backup creates LSN ?

Author
Message
beejug1983
beejug1983
SSCommitted
SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)

Group: General Forum Members
Points: 1514 Visits: 1482
Hi All,
I have a query regarding differential backup. I have taken full backup F1 and Differential backup D1 and then Transaction backup T1 again I am taking D2 and T2 and D3 and T3 in sequence. What I see, I can restore F1 and all T1,T2 and T3 without restoring any differential backup(D1,D2,D3). And my db is restored. Please let me know if Differential backups have generated LSN then how I was able to restore F1 and all Ts without restoring any Ds.

Thanks in advance.
HanShi
HanShi
SSCrazy Eights
SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)

Group: General Forum Members
Points: 8738 Visits: 3718
All backups have LSN, there is just a bit difference in the relation between these LSN's. A differential backup is depending on the previous FULL backup. You can find the LSN of this FULL backup in the backupset of the Differential backup.
The LOG backups are independent of the differential backups. The LOG backups form a sequence starting from the first FULL backup.

So to restore a sequence untill you last LOG backup (T3) you have the following options:
1. Restore F1, D3, T3
2. Restore F1, D2, T2, T3
3. Restore F1, D1, T1, T2, T3
4. Restore F1, T1, T2, T3

The differential backups can shorten the restore process because they 'include' all changes untill that moment and you don't need to restore all previous LOG backups.

** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
beejug1983
beejug1983
SSCommitted
SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)

Group: General Forum Members
Points: 1514 Visits: 1482
Thank you very much HanShi.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search