Stacked
Stacked

Reputation: 7336

Backup database query with OS error 5

I'm trying to run a backup query:

BACKUP DATABASE MY_DATABASE TO DISK='C:\Users\me\Desktop\POD2013-05-14.bak'

But I get the following error:

Cannot open backup device 'C:\Users\me\Desktop\POD2013-05-14.bak'. Operating system error 5(failed to retrieve text for this error. Reason: 15105).

I thought it has to do with permissions, but log in as sa and Administrator (Win Auth) doesn't solve the problem.

Can anyone help me with this?

Upvotes: 2

Views: 454

Answers (1)

Hasib Tarafder
Hasib Tarafder

Reputation: 5813

You need to check the security permissions on the folder you are trying to backup. Make sure the service account (Network Service) has write permissions.

I think your problem might be okay.

Upvotes: 1

Related Questions