Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / March 2008

Tip: Looking for answers? Try searching our database.

Unable to restore differential backup

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pshroads@gmail.com - 12 Mar 2008 05:04 GMT
I am unable to restore a differential backup. I get the following
error:

"This differential backup cannot be restored because the database has
not been restored to the correct earlier state"

My backup sequence is as follows:

Full backup started at 2008-03-10 18:02:00
1st differential started at 2008-03-11 12:01:00
2nd differential started at 2008-03-11 08:15:42

There are transaction log backups taken every 5 minutes. There have
been no other full or differential backups.

I restored the full backup specifying NORECOVERY. Then I try and
restore the 2nd differential and get the above error.
DDD - 12 Mar 2008 07:51 GMT
On Mar 12, 12:04 pm, pshro...@gmail.com wrote:
> I am unable to restore a differential backup. I get the following
> error:
[quoted text clipped - 13 lines]
> I restored the full backup specifying NORECOVERY. Then I try and
> restore the 2nd differential and get the above error.

Because 2nd differential backup couldn't find its association Full
backup.

> 1st differential started at 2008-03-11 12:01:00
Why the second bakup started earlier than the 1st bakup?
> 2nd differential started at 2008-03-11 08:15:42
pshroads@gmail.com - 12 Mar 2008 17:52 GMT
> > 1st differential started at 2008-03-11 12:01:00
>
> Why the second bakup started earlier than the 1st bakup?
>
> > 2nd differential started at 2008-03-11 08:15:42

The first backup is actually at midnight, not 12 PM, so it's before
the second backup.
Tibor Karaszi - 12 Mar 2008 08:44 GMT
In addition to DDD's comments:

You probably have a full backup in between the full you restore and the diff you restored. That is
what the error message is telling you. I suggest you check the backup history tables in msdb to see
if such were performed.

Signature

Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi

>I am unable to restore a differential backup. I get the following
> error:
[quoted text clipped - 13 lines]
> I restored the full backup specifying NORECOVERY. Then I try and
> restore the 2nd differential and get the above error.
pshroads@gmail.com - 12 Mar 2008 17:55 GMT
Tibor,

The backup history tables were a great suggestion. I was certain that
no other backups had been performed because I am the only person who
would have scheduled them.

It turns out that EMC Replication Manager which we use to create SAN
based snapshots of the database issues its own database backup as part
of the snapshot process.

Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.