duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Notice for S3/GCS Users


From: edgar . soldin
Subject: Re: [Duplicity-talk] Notice for S3/GCS Users
Date: Fri, 27 May 2022 12:17:04 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0

hey Scott,

boto3 says it needs botocore, jmespath, s3transfer
https://github.com/boto/boto3/blob/1.23.9/requirements.txt

not using fink i do not know how or if they are distributed by it. maybe you 
can try to get python pip running and use that for dependencies?

good luck.. ede


On 26.05.2022 17:13, Scott Hannahs via Duplicity-talk wrote:
I am still trying to get 0.8.23 running on Mac OS.  I moved the dependency from 
boto to boto3 and it build and ran the local tests.  BUT when I tried to use s3 
it mentioned that botocore was missing?

Maybe the changed syntax will fix this but I somehow doubt it.  AFAICT I need 
to install botocore as separate from boto3?

Note: I am using fink as my package manager for installing duplicity.

-Scott

On May 26, 2022, at 02:21, Rinck Sonnenberg via Duplicity-talk 
<duplicity-talk@nongnu.org <mailto:duplicity-talk@nongnu.org>> wrote:

Hi all,

for those struggling with the changed S3 behavior in duplicity/boto3 regarding 
the --s3-endpoint-url, I thought I'd give an example. I took my some trial and 
error to figure out what needed to go where.

So if previously (before 0.8.23) you were using a destination like:
duplicity --s3-use-new-style --s3-european-buckets /mypath 
s3://s3.eu-west-1.amazonaws.com/my-bucket-name/ 
<http://s3.eu-west-1.amazonaws.com/my-bucket-name/>

the new syntax (0.8.23+) should be something like:
duplicity --s3-use-new-style --s3-european-buckets --s3-endpoint-url 
https://s3.eu-west-1.amazonaws.com/ <https://s3.eu-west-1.amazonaws.com/> /mypath 
s3://my-bucket-name/ <s3://my-bucket-name/>

Hopefully that will save someone some headaches! :-)

Regards,
Rinck



On Thu, Mar 24, 2022 at 4:55 PM Kenneth Loafman via Duplicity-talk 
<duplicity-talk@nongnu.org <mailto:duplicity-talk@nongnu.org>> wrote:

    We made the following changes and released them in *0.8.23.dev15* 
development version on GitLab, Launchpad PPA, Snapcraft (edge), and PyPi.  If 
you use the release/stable version, please use this for planning purposes. 
*This will be part of 0.8.23 in a month or so.*

    Since some users use the dev version, here are the changes:

      * boto3 backend is now default s3:// backend. It does not support s3:/// 
<s3:///> but needs --s3-endpoint-url instead
      * boto3 supports --s3-unencrypted-connection option now
      * boto backend now usable via boto+s3:// or boto+gs:// only
      * boto's s3+http:// scheme was removed, use boto+s3:// instead
      * boto supports --s3-endpoint-url. --s3-use-deep-archive options now
      * changes are documented in man page

    I would suggest that if/when this breaks things, please consult the man 
page.  There are a bunch of much needed updates that will see you through.

    ...Thanks,
    ...Ken


    _______________________________________________
    Duplicity-talk mailing list
    Duplicity-talk@nongnu.org <mailto:Duplicity-talk@nongnu.org>
    https://lists.nongnu.org/mailman/listinfo/duplicity-talk 
<https://lists.nongnu.org/mailman/listinfo/duplicity-talk>

_______________________________________________
Duplicity-talk mailing list
Duplicity-talk@nongnu.org <mailto:Duplicity-talk@nongnu.org>
https://lists.nongnu.org/mailman/listinfo/duplicity-talk


_______________________________________________
Duplicity-talk mailing list
Duplicity-talk@nongnu.org
https://lists.nongnu.org/mailman/listinfo/duplicity-talk




reply via email to

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