Hi,
I’m having issue backing up to my Amazon S3 account. It works fine if I use my master Access ID and Key or if I create a new IAM user and give it AdministratorAccess policy but otherise returns Access Denied. I have tried both using Duplicati to create a limited permissions user as well as creating my own policy with the necessary permissions.
Using 2.0.2.4_canary_2017-09-09.
Example of error message.
Amazon.S3.AmazonS3Exception: Access Denied --->
Amazon.Runtime.Internal.HttpErrorResponseException: The remote server
returned an error: (403) Forbidden. ---> System.Net.WebException: The
remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at Amazon.Runtime.Internal.HttpRequest.GetResponse()
--- End of inner exception stack trace ---
at Amazon.Runtime.Internal.HttpRequest.GetResponse()
at Amazon.Runtime.Internal.HttpHandler`1.InvokeSync(IExecutionContext
executionContext)
at Amazon.Runtime.Internal.RedirectHandler.InvokeSync(IExecutionContext
executionContext)
at Amazon.Runtime.Internal.Unmarshaller.InvokeSync(IExecutionContext
executionContext)
at Amazon.S3.Internal.AmazonS3ResponseHandler.InvokeSync(IExecutionContext
executionContext)
at Amazon.Runtime.Internal.ErrorHandler.InvokeSync(IExecutionContext
executionContext)
--- End of inner exception stack trace ---
at Duplicati.Library.Main.BackendManager.List()
at
Duplicati.Library.Main.Operation.FilelistProcessor.RemoteListAnalysis(BackendManager
backend, Options options, LocalDatabase database, IBackendWriter log,
String protectedfile)
at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList(BackendManager
backend, Options options, LocalDatabase database, IBackendWriter log,
String protectedfile)
at Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify(BackendManager
backend, String protectedfile)
at Duplicati.Library.Main.Operation.BackupHandler.Run(String[]
sources, IFilter filter)
at Duplicati.Library.Main.Controller.<>c__DisplayClass16_0.<Backup>b__0(BackupResults
result)
at Duplicati.Library.Main.Controller.RunAction[T](T result,
String[]& paths, IFilter& filter, Action`1 method)
at Duplicati.Library.Main.Controller.Backup(String[] inputsources,
IFilter filter)
at Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)