Comments (2)
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.
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)
- why no mysql restore backup from s3? HOT 1
- The -b parameter is not in effect when beanstalkd is started
- postgres-backup-s3: V11 not supported HOT 3
- mysqldump: Authentication plugin 'caching_sha2_password' cannot be loaded HOT 4
- Change the value of max_binlog_cache_size in MySQL
- Rebuild beanstalkd-console
- mysql-backup-s3: Container should not run as root
- mysql-backup-s3: compare md5sum before uploading HOT 2
- ability to set base url path
- postgres-backup-s3 not updated + CD pipeline HOT 8
- curl downloads with --insecure parameter HOT 2
- Build dockerfiles with `arm` compatibility HOT 6
- AWS IAM policy change for HOT 1
- Hugin error: Unable to initialize GTK+, is DISPLAY set properly?
- Missing port binding in the documentation HOT 3
- postgres-restore-s3 ERROR: restore.sh: line 70: psql: not found HOT 3
- Unable to start the container on M1 macs HOT 2
- S3_ENDPOINT strange HOT 2
- postgres-backup-s3: Server version mismatch error (PostgreSQL 16)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerfiles.