Giter Site home page Giter Site logo

Comments (2)

moracabanas avatar moracabanas commented on May 30, 2024

I made some progress debugging:

from minio docs you are supposedly be able to do this:

aws --endpoint-url https://play.min.io:9000 s3 ls s3://mybucket

where in my case would be

aws --endpoint-url https://example.fi-hel2.upcloudobjects.com s3 ls s3://example-bucket

This is returning the following error:

Could not connect to the endpoint URL: "https://s3.fi-hel2.amazonaws.com/example-bucket?delimiter=%2F&prefix=&encoding-type=url"

but if I omit s3://example-bucket it remains like this:

aws --endpoint-url https://example.fi-hel2.upcloudobjects.com s3 ls

And it works displaying my buckets

2021-03-09 16:07:36 example-bucket
2021-03-02 12:51:34 other-example-bucket

So, what am I missing here?

from dockerfiles.

moracabanas avatar moracabanas commented on May 30, 2024

SOLVED

First I tried to upgrade and customize the whole image. Going to latest alpine python 3 and p3 awscli with not behavior changes at all. (I should then upgrade the image for mainly for security reasons and pull request as no braking changes for me 😅)

I was missing to use S3_REGION=fi-hel2 env.
Now I tested it and it is working:

# sh backup.sh
Creating dump for --all-databases from mariadb...
-- bla bla things --
Uploading 2021-04-27T025826Z.dump.sql.gz on S3...
SQL backup finished

It was very hard to find out by trial and error due to error log output.

I'm glad I found the solution.

from dockerfiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.