Comments (3)
We do not test against TrueNAS so I can't confirm whether what you see when omitting the region is expected behaviour.
I tried checking the endpointURL and region requirements in the TrueNAS docs but the documentation around the S3 service doesn't appear to be very comprehensive. One thing I did notice is that the S3 service in TrueNAS is deprecated and the recommended approach is now to use the Minio plugin instead.
from barman.
We use Minio plugin in the TrueNAS.
and I couldn't connect until I added a region to the s3Credentials settings.
Also very confusing is the line "Could not connect to the endpoint URL: "https://s3.dom.amazonaws.com/bucket\" in the log when I try to connect to https://truenas.dom.mycompany.com:9000/.
from barman.
I don't know exactly what is going on but s3.amazonaws.com
is the default endpoint used in the boto3 library when connecting to S3, and s3.<region>.amazonaws.com
is the endpoint format for non-default regions. I suspect what happens is that when the region is not specified boto3 ends up retrying using the s3.<region>.amazonaws.com
address (in this case s3.dom.amazonaws.com
) and therefore that is what ends up in the final error message.
If you are able to run barman-cloud-backup
directly you could increase the verbosity with the -vv
argument which would give you more insight into how the endpoint is being resolved.
from barman.
Related Issues (20)
- Barman can't perform backup (3.9 upgrade issue?) HOT 5
- RPM package update on Fedora 38 removes the configuration file /etc/barman.conf HOT 3
- E-Mail to [email protected] bounces HOT 2
- sdist is missing tests HOT 2
- TestAnnotationManagerFile.test_delete_one_of_many_annotations fails on illumos
- DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
- python 3.10 and snappy compression throw error HOT 2
- restore_command use socket.getfqdn() get hostname, want config ip address HOT 1
- [Feature] add OpenPGP as an encryption option
- Aliyun OSS - S3 compatible storage issue!!! HOT 1
- After PITR recovery, Postgres won't start and report missing WAL file HOT 1
- rsync error during backup or recover HOT 4
- Barman marks Azure Government Blob Endpoint as Emulated
- Barman (on Linux) fails to back up Windows system with tablespaces to CIFS share on Windows host HOT 2
- Backing up Windos works, but restore fails due to UNIX assumptions HOT 1
- Barman cannot restore to Windows host in most cases
- archiver errors: FAILED (duplicates: 8)
- Please package using systemd timers, not crontab HOT 1
- After update to BARMAN 3.10 getting a WARNING: Discarding configuration file: .barman.auto.conf (not a file) HOT 2
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 barman.