Hi All,
I am new to Database admin work. I have a database by name [TestDB] on my development machine, and am trying to move it to Staging machine. I took its backup, copied it to Staging machine, and ran this command.
RESTORE DATABASE [AcmeDB]
FROM DISK = 'C:\TestDB_4_14.bak'
I notice that the Database gets created by name AcmeDB, but the files in Data folder (C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data) are named TestDB.mdf and TestDB.ldf
Is there a way to get these files named by the new name?
TIA,
Sheila
I am new to Database admin work. I have a database by name [TestDB] on my development machine, and am trying to move it to Staging machine. I took its backup, copied it to Staging machine, and ran this command.
RESTORE DATABASE [AcmeDB]
FROM DISK = 'C:\TestDB_4_14.bak'
I notice that the Database gets created by name AcmeDB, but the files in Data folder (C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data) are named TestDB.mdf and TestDB.ldf
Is there a way to get these files named by the new name?
TIA,
Sheila