I'm setting up a new production environment for a customer. We have RavenDB in TEST, STAGE and PROD environments.
All machines are members of the same Active Directory.
If I log in locally as administrator (ur Run As as local admin) the backup works fine using the Raven.Backup.exe, such as this:
But if I log in with a diferent account, even one that is administrator locally it does not work:
The remote server returned an error: (401) Unauthorized.
The Raven config files looks as follows:
<add key="Raven/AnonymousAccess" value="None"/>
<add key="Raven/DataDir" value="~\..\..\Data"/>
<add key="Raven/Authorization/Windows/RequiredGroups" value="PRODSE\Domain Admins"/>
<add key="Raven/Authorization/Windows/RequiredUsers" value="mgmt\xxx"/>
As you can see I have also tried to explicitly allow my user account.
Can anoyone tell me how to fix this?
Or if not fix, what is the recommended way to backup RavenDB in a Windows production environment?
/Joakim