在还原完全后再进行差异还原出现:The   preceding   restore   operation   did   not   specify   WITH   NORECOVERY   or   WITH   STANDBY.   Restart   the   restore   sequence,   specifying   WITH   NORECOVERY   or   WITH   STANDBY   for   all   but   the   final   step.  此问题.应如何解决;

解决方案 »

  1.   

    解决方法为:你恢复完全备份后,恢复差异备份时不能马上恢复,得先选择“read   backup   set   information   and   add   to   backup   history”完了再进去选择备份点才能够恢复备份成功。
      

  2.   

    restore   database   NewDB
    from   disk= 'D:\Test\DB-DF03_full '       --恢复完全备份
    with   Recovery                                             --必须用此选项restore   database   NewDB
    from   disk= 'D:\Test\DB-DF03 '  
    with   NoRecovery恢复完全备份后,恢复差异备份时不能马上恢复,得先选择“read backup set information and add to backup history”完了再进去选择备份点才能够恢复备份成功。
      

  3.   

    用no recovery恢复全备份,以
    比如
    RESTORE DATABASE databasename FROM ... WITH NORECOVERY 
      

  4.   

    RESTORE  DATABASE 122  FROM disk='f:\1111111.bak'  WITH  NORECOVERY   可报Server: Msg 170, Level 15, State 1, Line 1
    Line 1: Incorrect syntax near '122'.
      

  5.   

    本人有一个问题,请高手们指点一下,我在服务器装了两个数据库一个是mssql2000一个是sql2005,mssql2000的数据库可以正常访问,现有一个站点是用的是mssql2005数据就是访问不到,两个数据库在服务器安装都正常。mssql2005我已把改成静态端口了,为了避免和sql2000冲突。远程连接都已经开通。请问高手们这是什么原因。
      

  6.   

    RESTORE DATABASE [122] FROM disk='f:\1111111.bak' WITH NORECOVERY
      

  7.   

    却出现了这种情况:Server: Msg 3201, Level 16, State 2, Line 1
    Cannot open backup device 'f:\122.bak'. Device error or device off-line. See the SQL Server error log for more details.
    Server: Msg 3013, Level 16, State 1, Line 1
    RESTORE DATABASE is terminating abnormally.
    Server: Msg 3201, Level 16, State 2, Line 5
    Cannot open backup device 'f:\2222.bak'. Device error or device off-line. See the SQL Server error log for more details.
    Server: Msg 3013, Level 16, State 1, Line 5
    RESTORE DATABASE is terminating abnormally.