Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Differential Backup

Author  Topic 

Peace2007
Posting Yak Master

239 Posts

Posted - 2009-03-04 : 03:53:49
Hi,
I'm creating full DB backup at first day of each month. then I'm creating differential backup everyday. Now suppose its 14th day of month an I want to restore backup of 7th day to a new DB. I restore the full backup to a new DB with NORECOVERY option first. Then when I want to restore the backup of 7th day I'm getting following error:
This differential backup cannot be restored because the database has not been restored to the correct earlier state.

ahmad.osama
Posting Yak Master

183 Posts

Posted - 2009-03-04 : 05:38:47
quote:
Originally posted by Peace2007

Hi,
I'm creating full DB backup at first day of each month. then I'm creating differential backup everyday. Now suppose its 14th day of month an I want to restore backup of 7th day to a new DB. I restore the full backup to a new DB with NORECOVERY option first. Then when I want to restore the backup of 7th day I'm getting following error:
This differential backup cannot be restored because the database has not been restored to the correct earlier state.



some one must have taken the ad hoc full backup...and the differential backup is tied to that full backup...



Regards,
Ahmad Osama
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-03-04 : 11:39:01
Look at MSDB.backupsets for information.
Go to Top of Page

subhash chandra
Starting Member

40 Posts

Posted - 2009-03-04 : 13:47:08
That's the problem to resolve that the new "COPY ONLY" option is added in BACKUP command.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-03-04 : 13:48:26
You should be performing full backups on a more frequent basis.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

Peace2007
Posting Yak Master

239 Posts

Posted - 2009-03-05 : 00:25:03
Thanks all for your comments
Go to Top of Page
   

- Advertisement -