<!-- This is a bug report template. By following the instructions below and fill…ing out the sections with your information, you will help the developers to get all the necessary data to fix your issue.
You can also preview your report before submitting it. You may remove sections that aren't relevant to your particular case.
Let's begin with a checklist: replace the empty checkbox [ ] below with a checked one [x] if you already searched for duplicate bugs -->
I have:
- [x] searched open and closed issues for duplicates
----------------------------------------
### Version info
**Duplicati Version:** 2.0.1.53
**Operating System:** Fedora 25
**Backend:** S3
### Bug description
My backup to S3 with the Glacier storage class fails with "GLACIER is not allowed". I've tried using multiple regions that I know support Glacier (us-east-1, us-west-1, us-west-2), but none of them work. I've included the full traceback below.
### Steps to reproduce
- set up a backup with s3 as the backend
- choose us-east-1 as the region
- choose Glacier as the storage type
- run the backup
**Actual result:** the backup fails with the aforementioned error
**Expected result:** the backup should succeed
### Screenshots
n/a
### debug log
> {"ClassName":"Amazon.S3.AmazonS3Exception","Message":"GLACIER is not allowed.","InnerException":{"ClassName":"Amazon.Runtime.Internal.HttpErrorResponseException","Message":"The remote server returned an error: (400) Bad Request.","InnerException":{"ClassName":"System.Net.WebException","Message":"The remote server returned an error: (400) Bad Request.","InnerException":null,"HelpURL":null,"StackTraceString":" at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x40d8e090 + 0x001cb> in <filename unknown>:0 \n at System.Net.HttpWebRequest.GetResponse () <0x40eb9ad0 + 0x0005a> in <filename unknown>:0 \n at Amazon.Runtime.Internal.HttpRequest.GetResponse () <0x40f53c70 + 0x00043> in <filename unknown>:0 ","RemoteStackTraceString":null,"RemoteStackIndex":0,"HResult":-2146233079,"Source":"System","ExceptionMethod":null,"Data":null},"HelpURL":null,"StackTraceString":" at Amazon.Runtime.Internal.HttpRequest.GetResponse () <0x40f53c70 + 0x00303> in <filename unknown>:0 \n at Amazon.Runtime.Internal.HttpHandler`1[TRequestContent].InvokeSync (IExecutionContext executionContext) <0x40f60c40 + 0x0023b> in <filename unknown>:0 \n at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (IExecutionContext executionContext) <0x40f52050 + 0x00034> in <filename unknown>:0 \n at Amazon.Runtime.Internal.RedirectHandler.InvokeSync (IExecutionContext executionContext) <0x40f60bc0 + 0x00023> in <filename unknown>:0 \n at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (IExecutionContext executionContext) <0x40f52050 + 0x00034> in <filename unknown>:0 \n at Amazon.Runtime.Internal.Unmarshaller.InvokeSync (IExecutionContext executionContext) <0x40f60b10 + 0x00017> in <filename unknown>:0 \n at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (IExecutionContext executionContext) <0x40f52050 + 0x00034> in <filename unknown>:0 \n at Amazon.S3.Internal.AmazonS3ResponseHandler.InvokeSync (IExecutionContext executionContext) <0x40f60aa0 + 0x00017> in <filename unknown>:0 \n at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (IExecutionContext executionContext) <0x40f52050 + 0x00034> in <filename unknown>:0 \n at Amazon.Runtime.Internal.ErrorHandler.InvokeSync (IExecutionContext executionContext) <0x40f609b0 + 0x00027> in <filename unknown>:0 ","RemoteStackTraceString":null,"RemoteStackIndex":0,"HResult":-2146233088,"Source":"AWSSDK.Core","ExceptionMethod":null,"Data":null,"Response":{"StatusCode":"BadRequest","IsSuccessStatusCode":false,"ContentType":"application/xml","ContentLength":-1,"ResponseBody":{}}},"HelpURL":null,"StackTraceString":" at Duplicati.Library.Main.Operation.BackupHandler.HandleFilesystemEntry (ISnapshotService snapshot, Duplicati.Library.Main.BackendManager backend, System.String path, FileAttributes attributes) <0x40ee1820 + 0x01f53> in <filename unknown>:0 \n at Duplicati.Library.Main.Operation.BackupHandler.RunMainOperation (ISnapshotService snapshot, Duplicati.Library.Main.BackendManager backend) <0x40ee0dd0 + 0x0064f> in <filename unknown>:0 \n at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources, IFilter filter) <0x40e3f3f0 + 0x01757> in <filename unknown>:0 ","RemoteStackTraceString":null,"RemoteStackIndex":0,"HResult":-2146233088,"Source":"Duplicati.Library.Main","ExceptionMethod":null,"Data":null,"errorCode":"InvalidArgument","errorType":"Sender","requestId":"83B57CF992B5EF26","statusCode":"BadRequest","AmazonId2":"redacted","ResponseBody":null}