File Group Restore Failed in SQL Server -
i trying restore database using file groups concept in sql server.
i trying take backup "fgtest_stg"
db , restore in "fgtest_prod"
db.both database exists in sql server
.
restore query:
restore database fgtest_prod filegroup = 'primary' disk = 'e:\sqldata\fgtest_stg_2014.06.10.165900.bak' move 'fgtest_stg' 'e:\databases\fgtest_prod_2014_06_10_171410.mdf' ,move 'fgtest_stg_log' 'e:\dblogs\fgtest_prod_2014_06_10_171410.ldf' ,replace
but when restore getting below error.
<code>the backup set holds backup of database other existing 'fgtest_prod' database. msg 3013, level 16, state 1, line 4 restore database terminating abnormally</code>
Comments
Post a Comment