Another simple SQL backup question from me....
I've got a SQL Server database running on SSMS 2008 and am trying to configure some backup jobs. I am now seemingly fine with backing up and restoring the databases but have been asked to backup from one of our servers to another's C$, though am having trouble doing so. I've got the line:
backup database MyDB to disk = '\\NetworkLocation\C$\Backups\backup.bak'
And am being given the error:
Cannot open backup device '\\NetworkLocation\C$\Backups\backup.bak'. Operating system error 5(failed to retrieve text for this error. Reason: 15105).
Which (if I'm correct) is an access denied sort of error.
Anyways.... I was told to 'just set permissions to C$' but haven't been able to find out how to, or even if that's possible. I have got it working such that the server will back up to a shared folder on the second machine if one's set up but the boss has asked, specifically, if it can be done straight onto C$. Am I just going about it the wrong way? Many thanks
"the boss has asked, specifically, if it can be done straight onto C$"
-- say no, and back up to a network share. This is such a bad idea, I don't even know where to start. – Jon Seigel Nov 19 '12 at 14:57