Differential Restore - STANDBY vs. NORECOVERY

  • I restored a complete backup with STANDBY. I attempted to restore the differential and it failed without showing an error. Do you have to use the NORECOVERY option after the full restore? I assumed that I could use the STANDBY option in the same manner so that my users could still access the database.

    Jess

  • From BOL:

    SQL Server requires that the WITH NORECOVERY option be used on all but the final RESTORE statement when restoring a database backup and multiple transaction logs, or when multiple RESTORE statements are needed (for example, a full database backup followed by a differential database backup).

    To the best of my knowledge, STANDBY is used only with restoring log files.

    MG

    "There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies."
    Tony Hoare

    "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.

  • Standby puts the database into READ-ONLY. Once in Standby mode you can only restore log files.

    -SQLBill

  • The reason the Differential Restore did not work with the Full Restore in STANDBY mode was because I had spaces in the USE file path.  I moved the USE file and have tested it with the Northwind database with success.

    Thanks!  Jess

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply