"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
s3: fix --s3-profile which wasn't working - fixes #4757
Nick Craig-Woodb9a015e5b968
diff --git a/backend/s3/s3.go b/backend/s3/s3.goindex 43b4f6984..9bf053ca5 100644--- a/backend/s3/s3.go+++ b/backend/s3/s3.go@@ -1562,6 +1562,8 @@ func s3Connection(ctx context.Context, opt *Options, client *http.Client) (*s3.Sif opt.EnvAuth && opt.AccessKeyID == "" && opt.SecretAccessKey == "" {// Enable loading config options from ~/.aws/config (selected by AWS_PROFILE env)awsSessionOpts.SharedConfigState = session.SharedConfigEnable+ // Set the name of the profile if supplied+ awsSessionOpts.Profile = opt.Profile}ses, err := session.NewSessionWithOptions(awsSessionOpts)if err != nil {