I have a SQL Server Express instance and have been doing a file level backup of the whole server twice a day. I was thinking that the file level backup can serve as the backups for the tables. This may be a mistake.
I now need to look at data that is contained in an older database.mdf
file. I do not want to restore the data to the production database. I see here about attaching a .mdf
file to the server. My .mdf
file has the same name as the production database as it is a backup of the file. If I do this what will I end up with?
- A new database with the same name?
- A new database with a automatic renaming?
- My production database overwritten?
- Something else?
What would be the best way to "restore" a .mdf
file with the same name as a production database to a new database name so I do not overwrite the production database?