standby not a recognized RESTORE option

  • SQL Server 7.0 sp3

    Any idea why I'm getting this error? Works with norecovery fine.

    restore database MECACAFEWT FROM mydevice

    with

    Move 'MECACAFEWTDATA' to 'E:\MSSQL7DATA\MECACAFEWTDATA.MDF',

    Move 'MECACAFEWTLOG' to 'D:\MSSQL7LOG\MECACAFEWTLOG.LDF' ,

    standby

    Server: Msg 155, Level 15, State 1, Line 5

    'standby' is not a recognized RESTORE option.

    John Zacharkan


    John Zacharkan

  • I think the standby option is required to be set to an undo file file, like this:

    STANDBY = undo_file_name

    check it out in BOL

    Gregory Larsen, DBA

    If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples

    Gregory A. Larsen, MVP

  • When you use standby, you should give it the undo file name. That will fix your problem.

  • Don't remember having to use the undo file before, but that seems to be it.

    I'm definitely losing it!

    btw - i did read bol - just decided to ignored it.

    lousy error message, Standby is a valid option -just need a undo file.

    thanks all

    John Zacharkan


    John Zacharkan

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

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