Hi everyone,I'm trying to set up an S3-compatible storage with Proxmox Backup Server 4 using Infomaniak's Swiss Backup S3 storage, but I'm running into an issue. When attempting to add the storage, I get the following error message:
I see that the PBS creates the a folder with the "Name:" on the S3-storage. So (write) access is possible.
Documentation Infomaniak: https://trac.cyberduck.io/wiki/help/en/howto/infomaniak
Cyberduck Template:
s3cmd:
Also no error running the command:
access time safety check failed: failed to upload chunk to s3 backend: chunk upload failed: unexpected status code 501 Not Implemented
- Proxmox Backup Server Version: 4.0.7 BETA
- S3 Storage Provider: Infomaniak Swiss Backup
- Endpoint: s3.swiss-backup04.infomaniak.com
- Access Key ID: Generated via Infomaniak Manager
- Secre Kys: Generated via Infomaniak Manager
- Secret Access Key: Generated via Infomaniak Manager
- [X] Patch Style
- Region: us-east-1
- Bucket: backup-pbs (created with CLI and Cyberduck)
I see that the PBS creates the a folder with the "Name:" on the S3-storage. So (write) access is possible.
Documentation Infomaniak: https://trac.cyberduck.io/wiki/help/en/howto/infomaniak
Cyberduck Template:
XML:
<key>Protocol</key>
<string>s3</string>
<key>Vendor</key>
<string>Infomaniak Network</string>
<key>Scheme</key>
<string>https</string>
<key>Name</key>
<string>Swiss Backup (S3)</string>
<key>Description</key>
<string>Infomaniak Swiss Backup 04 (S3)</string>
<key>Default Nickname</key>
<string>Swiss Backup (S3)</string>
<key>Default Hostname</key>
<string>s3.swiss-backup04.infomaniak.com</string>
<key>Hostname Configurable</key>
<false/>
<key>Port Configurable</key>
<false/>
<key>Anonymous Configurable</key>
<false/>
<key>Region</key>
<string>us-east-1</string>
<key>Properties</key>
<array>
<string>s3.bucket.virtualhost.disable=true</string>
<string>s3.storage.class.options=STANDARD</string>
</array>
<key>Help</key>
<string>https://trac.cyberduck.io/wiki/help/en/howto/infomaniak</string>
<key>Disk</key>
s3cmd:
Code:
New settings:
Access Key: xxx
Secret Key: yyy
Default Region: us-east-1
S3 Endpoint: s3.swiss-backup04.infomaniak.com
DNS-style bucket+hostname:port template for accessing a bucket: disable
Encryption password:
Path to GPG program: /usr/bin/gpg
Use HTTPS protocol: True
HTTP Proxy server name:
HTTP Proxy server port: 0
Test access with supplied credentials? [Y/n]
Please wait, attempting to list all buckets...
Success. Your access key and secret key worked fine :-)
Now verifying that encryption works...
Not configured. Never mind.
Save settings? [y/N] y
Configuration saved to '~/.s3cfg'
~$ s3cmd put testfile.txt s3://backup-pbs/
/usr/lib/python3/dist-packages/S3/S3Uri.py:122: SyntaxWarning: invalid escape sequence '\.'
m = re.match("(.*\.)?s3(?:\-[^\.]*)?(?:\.dualstack)?(?:\.[^\.]*)?\.amazonaws\.com(?:\.cn)?$",
/usr/lib/python3/dist-packages/S3/S3Uri.py:170: SyntaxWarning: invalid escape sequence '\w'
_re = re.compile("^(\w+://)?(.*)", re.UNICODE)
/usr/lib/python3/dist-packages/S3/FileLists.py:525: SyntaxWarning: invalid escape sequence '\*'
wildcard_split_result = re.split("\*|\?", uri_str, maxsplit=1)
upload: 'testfile.txt' -> 's3://backup-pbs/testfile.txt' [1 of 1]
10 of 10 100% in 0s 44.66 B/s done
Also no error running the command:
s3 check s3.swiss-backup04.infomaniak.com pbs-backup --store-prefix /
Last edited: