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
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1133 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 (553K reputation)SSC Guru (553K reputation)SSC Guru (553K reputation)SSC Guru (553K reputation)SSC Guru (553K reputation)SSC Guru (553K reputation)SSC Guru (553K reputation)SSC Guru (553K reputation)

Group: General Forum Members
Points: 553327 Visits: 47744
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
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10515 Visits: 4997
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
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10515 Visits: 4997
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
Right there with Babe
Right there with Babe (762 reputation)Right there with Babe (762 reputation)Right there with Babe (762 reputation)Right there with Babe (762 reputation)Right there with Babe (762 reputation)Right there with Babe (762 reputation)Right there with Babe (762 reputation)Right there with Babe (762 reputation)

Group: General Forum Members
Points: 762 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