duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] OVHCloud's S3


From: Troels Arvin
Subject: [Duplicity-talk] OVHCloud's S3
Date: Wed, 10 May 2023 21:19:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

Hello,

I'm trying to make Duplicity work with OVHCloud's S3, but I run into an error. Duplicity version: 1.2.2 (part of Fedora Linux 38).

I’ve set up an S3 container in OVHCloud, and it works when I use “s3cmd”:

[me@pc ~]$ s3cmd ls
2023-05-07 16:02  s3://backupcontainer-pc

This is the error I get when running Duplicty:

File "/usr/lib/python3.11/site-packages/botocore/client.py", line 960, in _make_api_call
  raise error_class(parsed_response, operation_name)
 botocore.exceptions.ClientError: An error occurred (400) when calling the HeadBucket operation: Bad Request

This is the command I use (altough I add many more --include/–exclude parameters):

duplicity --verbosity Debug --no-print-statistics --include /usr/local --include /root --exclude ** --asynchronous-upload --s3-region-name WAW --s3-endpoint-url https://s3.waw.io.cloud.ovh.net / s3://backupcontainer-pc

When running the command, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are set using the same values which work with s3cmd.

Related software packages on the system:
python3-botocore-1.29.111-1.fc38.noarch
python3-boto3-1.26.111-1.fc38.noarch

Any ideas?

--
Troels




reply via email to

[Prev in Thread] Current Thread [Next in Thread]