SQL-Server: The backup set holds a backup of a database other than the existing

前端 未结 24 1860
天命终不由人
天命终不由人 2020-12-07 06:49

I am trying to restore a SQL Server backup file for my database, but it is throwing an error as follow:

The backup set holds a backup of a database ot

24条回答
  •  鱼传尺愫
    2020-12-07 07:35

    Either:

    1) Use WITH REPLACE while using the RESTORE command (if using the GUI, it is found under Options -> Overwrite the existing database (WITH REPLACE)).

    2) Delete the older database which is conflicting and restore again using RESTORE command.

    Check the link for more details.

提交回复
热议问题