MSSQL database restoration to different database
You can get a range of different problems when trying to restore an MSSQL database to a different database. There are also a range of different solutions However, the following steps work for me.These steps require MS SQL Management Studio.
- In MS SQL Management Studio, create the target database, make note of the location of the database file and log file.
- Start the restore process and select the appropriate backup file and backup date
- On the "Restore Database" dialog, on the "General" tab, under "Destination" select the desired target database.
- Select the "Files" tab. Within the "Files" tab, you'll see that the data and log file are pointing to the old database, change both the data and log file to be the database you created in step 1
- In "Options", select the "Overwrite" option (WITH REPLACE)
Comments
Post a Comment