|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Today @ 3:20 AM
Points: 119,
Visits: 317
|
|
Dear,
First of all, I took the full backup of my database. After that I executed some insert queries. Then I took the differential backup of my database.
Now I have created another database and tried to restore the differential backup that has taken before. But I got the following error message.
Restore failed for Server 'A'. (Microsoft.SqlServer.SmoExtended)
Additional information: : -->System.Data.SqlClient.SqlError: The log or differential backup can not be restored because no files are ready to rollforward. (Microsoft.SqlServer.Smo)
Please help me to sort out the problem.
Regards, Akbar
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Today @ 11:58 AM
Points: 21,
Visits: 555
|
|
| You should not create a database and then try to restore, instead you should directly restore the database with NORECOVERY mode and finish restoring differentials and the last backup you restore WITH RECOVERY.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: 2 days ago @ 11:36 PM
Points: 24,
Visits: 240
|
|
The first step is to restore the Differential Base i.e the initial full backup with no recovery, then continue with the Differential. To identify the relevant files via LSN numbers use the backupset and backupmediafamily tables for the full backup history of the db
Jack Vamvas sqlserver-dba.com
|
|
|
|