Cannot open backup device. Operating System error 5

后端 未结 21 1378
小蘑菇
小蘑菇 2020-11-30 18:59

Below is the query that I am using to backup (create a .bak) my database.

However, whenever I run it, I always get this error message:

21条回答
  •  臣服心动
    2020-11-30 19:24

    I experienced this problem when the .BAK file was temporarily stored in a folder encrypted with BitLocker. It retained the encryption after it was moved to a different folder.

    The NETWORK SERVICE account was unable to decrypt the file and gave this thoroughly informative error message.

    Removing BitLocker encryption (by unchecking "Encrypt contents to secure data" in the file properties) on the .BAK file resolved the issue.

提交回复
热议问题