I have an empty database:
DB_Clients
And I want to restore the database from a .bak
file:
OldDBClients.bak
This is the path:
C:\OldDBClients.bak
And this is my script:
USE [master]
GO
RESTORE DATABASE DB_Clients
FROM DISK = 'C:\OldDBClients.bak'
When I execute it, I get this error message:
Msg 3154, Level 16, State 4, Line 15
The backup set holds a backup of a database other than the existing 'DB_Clients' database.
Msg 3013, Level 16, State 1, Line 15
RESTORE DATABASE is terminating abnormally.
Can someone tell me why this happen? I have to point that the file has the permissions to read and write.
Thank's.