i have to restore my backup in same server without doing any change in my current database, if i am going to restore my database then sql server 2008r giving me error mention below, i dont want to stop or move my running db to view backup.
Msg 3142, Level 16, State 1, Line 2
File "AT" cannot be restored over the existing "C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\AT.mdf". Reissue the RESTORE statement using WITH REPLACE to overwrite pre-existing files, or WITH MOVE to identify an alternate location.
Msg 3142, Level 16, State 1, Line 2
File "AT_log" cannot be restored over the existing "C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\AT_1.ldf". Reissue the RESTORE statement using WITH REPLACE to overwrite pre-existing files, or WITH MOVE to identify an alternate location.
Msg 3119, Level 16, State 1, Line 2
Problems were identified while planning for the RESTORE statement. Previous messages provide details.
Msg 3013, Level 16, State 1, Line 2
RESTORE DATABASE is terminating abnormally.
=====================
i have did.
- install a different sql instant with name sqlrestorebackup but same error is coming,
- i have tried to change my database Restoration path and change it, but my restoration of backup process not going to restore in new path it is using same path of my main sql server instant.
Please help to resolve this can