diff --git a/bin/kopia b/bin/kopia index 2f5397a96..f22dd07aa 100755 Binary files a/bin/kopia and b/bin/kopia differ diff --git a/pkg/executor/kopia/kopiabackup.go b/pkg/executor/kopia/kopiabackup.go index 2f5c2412c..9001ff54e 100644 --- a/pkg/executor/kopia/kopiabackup.go +++ b/pkg/executor/kopia/kopiabackup.go @@ -181,11 +181,11 @@ func populateS3AccessDetails(initCmd *kopia.Command, repository *executor.Reposi initCmd.AddArg(repository.S3Config.AccessKeyID) initCmd.AddArg("--secret-access-key") initCmd.AddArg(repository.S3Config.SecretAccessKey) - initCmd.AddArg("--sseType") // At present the backuplocation CR was set with "AES256" value for SSE-S3. // So need to do this conversion. switch repository.S3Config.SseType { case "AES256": + initCmd.AddArg("--sseType") initCmd.AddArg("SSE-S3") }