Operating system error 5 (Access is denied.) when using MSSQL #465
Unanswered
WilliamRockett
asked this question in
Q&A
Replies: 1 comment
-
|
The problem is that the unique temporary folder created by the script via The current MSSQL container >= 2019 are run under the user "mssql" with a user id of 10001, so the backup function inside the sql server cannot access that temporary folder. So a workaround is to set the dbbackup_user/dbbackup_group to 10001. But maybe the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am trying to set up db-backup for MSSQL using the default configuration in
compose.yml. I have manually created thetest1database as instructed. However, I am encountering a permission error from mssql when the backup performs.Steps to reproduce
docker-compose upfrom folderexamples/mssqlWhat is the expected correct behavior?
It should backup the test1 database from mssql without any permission error and copy the backup file to the backup folder.
Relevant logs and/or screenshots
Logs from SQL Server
Logs using
DEBUG_MODE=TRUEhttps://pastebin.com/yKj26ZfQ
Environment
docker-compose.ymlfromexamples/mssqlfolder (mcr.microsoft.com/mssql/server:2019-latest)Beta Was this translation helpful? Give feedback.
All reactions