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


Database restore from full and diff


Database restore from full and diff

Author
Message
lulu_lutz
lulu_lutz
SSC-Addicted
SSC-Addicted (477 reputation)SSC-Addicted (477 reputation)SSC-Addicted (477 reputation)SSC-Addicted (477 reputation)SSC-Addicted (477 reputation)SSC-Addicted (477 reputation)SSC-Addicted (477 reputation)SSC-Addicted (477 reputation)

Group: General Forum Members
Points: 477 Visits: 277
Once I do the full backup restore, do I have to apply each differential in order, or can I just apply the last differential from the 25th?

6/22/11 Full backup
6/23/11 Diff backup
6/24/11 Diff backup
6/25/11 Diff backup
GilaMonster
GilaMonster
SSC Guru
SSC Guru (221K reputation)SSC Guru (221K reputation)SSC Guru (221K reputation)SSC Guru (221K reputation)SSC Guru (221K reputation)SSC Guru (221K reputation)SSC Guru (221K reputation)SSC Guru (221K reputation)

Group: General Forum Members
Points: 221516 Visits: 46281
Restore the full. Restore the last differential. If you have log backups restore them all in order. Restore all but the last backup WITH NORECOVERY

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


muthukkumaran Kaliyamoorthy
muthukkumaran Kaliyamoorthy
SSCarpal Tunnel
SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)

Group: General Forum Members
Points: 4497 Visits: 4965
sqluser_8119 (6/27/2011)
Once I do the full backup restore, do I have to apply each differential in order, or can I just apply the last differential from the 25th?

6/22/11 Full backup
6/23/11 Diff backup
6/24/11 Diff backup
6/25/11 Diff backup


Followed by gail's reply

Restore a full backup with norecovery on 6/22/11 +
Restore a Differential backup with norecovery on 6/25/11

If you have log backup restore it (with recovery ) after the Differential backup on 6/25/11 in a sequence.

For more read the bottom of the post.
Backup types

Edited: For more info

Muthukkumaran Kaliyamoorthy

Helping SQL DBAs and Developers >>>SqlserverBlogForum

muthukkumaran Kaliyamoorthy
muthukkumaran Kaliyamoorthy
SSCarpal Tunnel
SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)SSCarpal Tunnel (4.5K reputation)

Group: General Forum Members
Points: 4497 Visits: 4965
sqluser_8119 (6/27/2011)
Once I do the full backup restore, do I have to apply each differential in order, or can I just apply the last differential from the 25th?

6/22/11 Full backup
6/23/11 Diff backup
6/24/11 Diff backup
6/25/11 Diff backup


Have a look.

SQL server Database backup restore Steps

Muthukkumaran Kaliyamoorthy

Helping SQL DBAs and Developers >>>SqlserverBlogForum

anil_kumar32
anil_kumar32
SSC-Addicted
SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)

Group: General Forum Members
Points: 438 Visits: 369



Followed by Muthukkumaran's reply

Restore a full backup with norecovery on 6/22/11 +
Restore a Differential backup with recovery on 6/25/11 if you don't have log back up
OR
If you have log back up restore a Differential backup on 6/25/11 with norecovery.

Be informed that you must restore all back up with no recovery except the last one.



Regards,

Anil


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