Hi,
Re SQL Server 2005
I have two scripts. One does a full backup with NO RECOVERY, and the other does a diff backup with RECOVERY.
Originally, the only option I used with the backups was WITH FORMAT.
However, when attempting to apply the diff backup after restoring the full backup, I kept getting the error:
"This differential cannot be restored because the database has not been restored to the correct earlier state"
So I added the INIT option as well to my full and diff backups and now things seem to be working fine. Was this the correct solution? I'm a bit confused as to the FORMAT and INIT options - should they be used together?
Thanks
Re SQL Server 2005
I have two scripts. One does a full backup with NO RECOVERY, and the other does a diff backup with RECOVERY.
Originally, the only option I used with the backups was WITH FORMAT.
However, when attempting to apply the diff backup after restoring the full backup, I kept getting the error:
"This differential cannot be restored because the database has not been restored to the correct earlier state"
So I added the INIT option as well to my full and diff backups and now things seem to be working fine. Was this the correct solution? I'm a bit confused as to the FORMAT and INIT options - should they be used together?
Thanks