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.
| Author |
Topic |
|
kkiranvr
Yak Posting Veteran
54 Posts |
Posted - 2007-11-16 : 10:33:08
|
| Hi Expets!!!!!!!!I did full back up and restore it. I didn't face any problem while restoring it. After that, I did differential back up. And now trying to restore it. I saw name of all the files at the time of full back up. It were something like ABC.MDF, ABC1.NDF,ABC2.NDF,ABC3.NDF,ABC4.NDF,ABC5.NDF, ABC_log.LDF, ABC_log2.LDF. But now, when I am trying to restore differential back up, I am getting different names, such as, ABC.MDF, ABC2.NDF,ABC3.NDF,ABC4.NDF,ABC5.NDF, ABC6.NDF,ABC_log.LDF, ABC_log2.LDF.It means that, ABC1.NDF file is missing and this time I am getting ABC6.NDF as a extra file. But total number of files are same. How is it possible? I checked, in the original database, there names of the files math exactly with what I am getting in differential back up file. Now I am getting one error message while trying to do differential back up. Any idea what is going on and how to solve this problem? The error message is as follows:- TITLE: Microsoft SQL Server Management Studio------------------------------Restore failed for Server 'SAT01PNGRSQL02'. (Microsoft.SqlServer.Smo)For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.3042.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476------------------------------ADDITIONAL INFORMATION:System.Data.SqlClient.SqlError: This differential backup cannot be restored because the database has not been restored to the correct earlier state. (Microsoft.SqlServer.Smo)For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.3042.00&LinkId=20Today is my dead line for this issue,,, Can you please give me the answer as quick as possibleand that would be very appriciable.....-Thanks N Regards,Kanthi. |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2007-11-16 : 10:43:52
|
| if you want to restore differential backup on top of the full backup you have to restore the full backup in the NORECOVERY state_______________________________________________Causing trouble since 1980blog: http://weblogs.sqlteam.com/mladenpSSMS Add-in that does a few things: www.ssmstoolspack.com |
 |
|
|
kkiranvr
Yak Posting Veteran
54 Posts |
Posted - 2007-11-16 : 10:45:44
|
| I have done in No Recovery State itself,,-Thanks N Regards,Kanthi. |
 |
|
|
dirtydavey
Yak Posting Veteran
80 Posts |
Posted - 2007-11-16 : 11:29:34
|
| Are you sure that youi are restoring the right database that matches the diff? |
 |
|
|
ratheeshknair
Posting Yak Master
129 Posts |
Posted - 2007-11-16 : 11:57:05
|
| restore one by one ...first restore the full backup with norecovery and then restore the differential backup with recovery option.RKNAIR |
 |
|
|
|
|
|
|
|