Our DBA is out and I'm trying to back up our (remote) dev database to a UNC path. I'm running the back up operation while logged into Management Studio as a particular Windows domain account (e.g.
CORP\myUser). I've checked that this domain account has FULL CONTROL rights the UNC path
When I attempt to execute the following as
BACKUP DATABASE [DEV] TO DISK = N'\\nameOfMachine\backup\dev.bak' WITH COPY_ONLY, INIT;
I receive the error
Cannot open backup device '\\nameOfMachine\backup\dev.bak'. Operating system error 5(Access is denied.).
Which seems to indicate that whatever account SQL Server is using to run the backup command does not have rights to that UNC path.
I do not have a way to RDP to the dev database server and find out which account SQL Server is using to execute the backup command above. Is there a way to find this out from Management Studio using e.g. a dynamic management view?