Restore with Move Fails

  • Anyone with with a solution, please help...

    Server: Msg 913, Level 16, State 8, Line 15

    Could not find database ID 65535. Database may not be activated yet or may be in transition.

  • Also, are you restoring over an existing db or a new db?

    Steve Jones

    sjones@sqlservercentral.com

    http://www.sqlservercentral.com/columnists/sjones

  • Wich SQL version? Please post more info.

  • Solart! The T-SQL is ....

    RESTORE DATABASE ScalaBackup FROM DISK='F:\mssqldata\MSSQL\BACKUP\ScalaDB_backup'

    WITH

    MOVE 'SCADEV1' TO 'F:\mssqldata\MSSQL\Data\ScalaDB_Backup.mdf',

    MOVE 'SCALOG' TO 'F:\mssqldata\MSSQL\Data\ScalaDB_Backup_log.ldf'

    Hi Steve, I am restoring to a new DB with the move option.

    Racosta! I am using SQL Server 2000

  • Did you see any errors in your SQL Server errorlog? There is an explanation in BOL for error 913 but it seems not relevant to database restoration directly.

    Cash,

    Try DBCC SHRINKFILE with option 'Emptyfile'. See BOL for details.

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

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