Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Restore database file - Restore As File Name different from Original File Name

$
0
0

Hi,

I have a database called ABC and Original File Name is GPSABCDat.mdf and GPSABCLog.ldf. I have a user called BackupOpr and this user has database role membership for ABC: db_backupoperator and public.

I normally use this BackupOpr user account to do backup and restore for database ABC. The first time when i do restore for ABC database, I get to see the Restore As location was change as such <path>\ABC.mdf and <path>\ABC.ldf.

If i use the sa account to do the restore, i get the original Restore As location <path>\GPSABCDat.mdf and <path>\GPSABCLog.ldf.

How can I use the BackupOpr account and get the original Restore As location?

Is there any configration that i need to set?

Hope someone can help me with this?

Thank You in advance!


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>