Jim Metcalf
asked on
restore on sql server 2012 not creating new mdf and ldf file
Here is my situation. as far as me getting here it doesnt matter cause its confusing.
1 sql instance involved.
there is one database that i tried to make a copy of and restore it as another database.
i accidentally restored the oringinal database i made a copy of to a different mdf and ldf file.....
the database still works. but now the mdf file and the ldf file are now the name of the intended new database copy... which never was created from the restore in the first place.
original database = soccer
attempted copy of original database was going to be = football
orginal database ldf and mdf file names were. soccer.mdf and soccer.ldf
now the original database ldf and mdf file names are football.mdf and football.ldf
everytime i restore the backup ontop of the soccer database... the mdf and ldf file names will not change!
logical file name file type original file name restore as
soccer rows data soccer.mdf soccer.mdf
soccer_log log soccer_log.ldf soccer_log.ldf
the restore as soccer.mdf stays as football.mdf
what the heck?
1 sql instance involved.
there is one database that i tried to make a copy of and restore it as another database.
i accidentally restored the oringinal database i made a copy of to a different mdf and ldf file.....
the database still works. but now the mdf file and the ldf file are now the name of the intended new database copy... which never was created from the restore in the first place.
original database = soccer
attempted copy of original database was going to be = football
orginal database ldf and mdf file names were. soccer.mdf and soccer.ldf
now the original database ldf and mdf file names are football.mdf and football.ldf
everytime i restore the backup ontop of the soccer database... the mdf and ldf file names will not change!
logical file name file type original file name restore as
soccer rows data soccer.mdf soccer.mdf
soccer_log log soccer_log.ldf soccer_log.ldf
the restore as soccer.mdf stays as football.mdf
what the heck?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
jamesmetcalf74, do you still need help with this question?