Hi all,
I have a backup of a database and I want to 'restore' it but only as a temporary test db to get some history that had been deleted from the original. The recovery mode is 'simple', so this is a full backup on a .bkf file. (Sql server 2005)
My worry is that I'll forget to tick some seemingly obscure checkbox and this backup will overwrite the original, live database.
I've created a new, dummy database, for purposes here I'll call it "dbtest". The live one is "dblive".
When I go into dbtest and do 'Restore', and choose the backup file for dblive, the first thing I notice is that it want's to place the .mdf files (there are about a dozen) in the original, dblive's folder. It seems to me that this would be a problem.
Yes I can go into the options and change the destination to point to the folder I created for the dummy dbtest .mdf files...but what else do I need to watch out for? Every move I make it seems sql-server want's to overwrite the original. Do I need to maintain the original's filenames? I'm assuming (!) that I can change the folder so I don't overwrite the live but what about the names, either logical or physical?
Even the option "Overwrite Existing Database" is ambiguous: *Which* existing database? The dummy test one I created or the *real* original that's coming from the .bkf file?
Can anyone clarify exactly what I need to do to place a copy of the live db on the same box but not have it overwrite the live db in any way? Thanks,
--Jim
I have a backup of a database and I want to 'restore' it but only as a temporary test db to get some history that had been deleted from the original. The recovery mode is 'simple', so this is a full backup on a .bkf file. (Sql server 2005)
My worry is that I'll forget to tick some seemingly obscure checkbox and this backup will overwrite the original, live database.
I've created a new, dummy database, for purposes here I'll call it "dbtest". The live one is "dblive".
When I go into dbtest and do 'Restore', and choose the backup file for dblive, the first thing I notice is that it want's to place the .mdf files (there are about a dozen) in the original, dblive's folder. It seems to me that this would be a problem.
Yes I can go into the options and change the destination to point to the folder I created for the dummy dbtest .mdf files...but what else do I need to watch out for? Every move I make it seems sql-server want's to overwrite the original. Do I need to maintain the original's filenames? I'm assuming (!) that I can change the folder so I don't overwrite the live but what about the names, either logical or physical?
Even the option "Overwrite Existing Database" is ambiguous: *Which* existing database? The dummy test one I created or the *real* original that's coming from the .bkf file?
Can anyone clarify exactly what I need to do to place a copy of the live db on the same box but not have it overwrite the live db in any way? Thanks,
--Jim