From 89f2a613ab9e113adb8ec666d181f4cf2daaed9b Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 3 Nov 2026 10:07:27 -0500 Subject: [PATCH] s3: add Infomaniak Swiss Backup provider --- README.md | 1 + backend/s3/provider/Infomaniak.yaml | 18 +++++ docs/content/_index.md | 1 + docs/content/s3.md | 109 ++++++++++++++++++++++++++++ 4 files changed, 129 insertions(+) create mode 100644 backend/s3/provider/Infomaniak.yaml diff --git a/README.md b/README.md index a8ffb14d7..aad06287c 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,7 @@ directories to and from different cloud storage providers. - Jottacloud [:page_facing_up:](https://rclone.org/jottacloud/) - IBM COS S3 [:page_facing_up:](https://rclone.org/s3/#ibm-cos-s3) - Impossible Cloud [:page_facing_up:](https://rclone.org/s3/#impossible-cloud) +- Infomaniak Swiss Backup (S3) [:page_facing_up:](https://rclone.org/s3/#infomaniak) - Intercolo Object Storage [:page_facing_up:](https://rclone.org/s3/#intercolo) - IONOS Cloud [:page_facing_up:](https://rclone.org/s3/#ionos) - kDrive [:page_facing_up:](https://rclone.org/kdrive/) diff --git a/backend/s3/provider/Infomaniak.yaml b/backend/s3/provider/Infomaniak.yaml new file mode 100644 index 000000000..4a6af2ced --- /dev/null +++ b/backend/s3/provider/Infomaniak.yaml @@ -0,0 +1,18 @@ +name: Infomaniak +description: Infomaniak Swiss Backup +region: + us-east-1: |- + Default region for compatibility. + All data is stored in Switzerland. +endpoint: + s3.swiss-backup01.infomaniak.com: Swiss Backup Location 01 + s3.swiss-backup02.infomaniak.com: Swiss Backup Location 02 + s3.swiss-backup03.infomaniak.com: Swiss Backup Location 03 + s3.swiss-backup04.infomaniak.com: Swiss Backup Location 04 +location_constraint: {} +acl: {} +bucket_acl: true +quirks: + force_path_style: true + use_multipart_etag: false + diff --git a/docs/content/_index.md b/docs/content/_index.md index 679f6f80e..61553d9a9 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -164,6 +164,7 @@ WebDAV or S3, that work out of the box.) {{< provider name="IBM COS S3" home="http://www.ibm.com/cloud/object-storage" config="/s3/#ibm-cos-s3" >}} {{< provider name="IDrive e2" home="https://www.idrive.com/e2/?refer=rclone" config="/s3/#idrive-e2" >}} {{< provider name="Impossible Cloud" home="https://www.impossiblecloud.com/" config="/s3/#impossible-cloud" >}} +{{< provider name="Infomaniak Swiss Backup (S3)" home="https://www.infomaniak.com/en/swiss-backup/cloud-storage" config="/s3/#infomaniak" >}} {{< provider name="Intercolo Object Storage" home="https://intercolo.de/object-storage" config="/s3/#intercolo" >}} {{< provider name="IONOS Cloud" home="https://cloud.ionos.com/storage/object-storage" config="/s3/#ionos" >}} {{< provider name="kDrive" home="https://www.infomaniak.com/en/ksuite/kdrive" config="/kdrive/" >}} diff --git a/docs/content/s3.md b/docs/content/s3.md index 20abaef7a..4f41e83eb 100644 --- a/docs/content/s3.md +++ b/docs/content/s3.md @@ -34,6 +34,7 @@ The S3 backend can be used with a number of different providers: {{< provider name="IBM COS S3" home="http://www.ibm.com/cloud/object-storage" config="/s3/#ibm-cos-s3" >}} {{< provider name="IDrive e2" home="https://www.idrive.com/e2/?refer=rclone" config="/s3/#idrive-e2" >}} {{< provider name="Impossible Cloud" home="https://www.impossiblecloud.com/" config="/s3/#impossible-cloud" >}} +{{< provider name="Infomaniak Swiss Backup" home="https://www.infomaniak.com/en/swiss-backup/cloud-storage" config="/s3/#infomaniak" >}} {{< provider name="Intercolo Object Storage" home="https://intercolo.de/object-storage" config="/s3/#intercolo" >}} {{< provider name="IONOS Cloud" home="https://cloud.ionos.com/storage/object-storage" config="/s3/#ionos" >}} {{< provider name="Leviia Object Storage" home="https://www.leviia.com/object-storage/" config="/s3/#leviia" >}} @@ -6992,6 +6993,114 @@ endpoint = eu-central-2.storage.impossibleapi.net acl = private ``` +### Infomaniak Swiss Backup {#infomaniak} + +[Infomaniak Swiss Backup](https://www.infomaniak.com/en/swiss-backup/cloud-storage) is a cloud backup space in Switzerland that you can use however you want with the script or software of your choice that is compatible with Swift, S3 or SFTP. + + +#### Prerequisites + +Create and setup your Swiss Backup product following [this documentation](https://www.infomaniak.com/en/support/faq/2546/create-an-s3-location-on-swiss-backup). Memorize the generated `Endpoint`, `Access Key`, and `Secret Key`: + +#### Configuration + +To configure access to an S3 location on Swiss Backup, follow the steps below: + +1. Run `rclone config` and select `n` for a new remote. + + ```sh + rclone config + No remotes found, make a new one? + n) New remote + s) Set configuration password + q) Quit config + n/s/q> n + ``` + +2. Give the name of the configuration. For example, name it 'swissbackup'. + + ```sh + name> swissbackup + ``` + +3. Select `s3` storage. + + ```sh + Type of storage to configure. + XX / Amazon S3 Compliant Storage Providers including AWS, ... - Tier 1 + \ (s3) + Storage> s3 + ``` + +4. Select `Infomaniak` provider. + + ```sh + Choose your S3 provider. + xx / Infomaniak Swiss Backup + \ (Infomaniak) + provider> Infomaniak + ``` + +5. Enter your Access Key and Secret Key. _You can generate new ones by clicking 'Generate new keys' on your Swiss Backup product dashboard._ + + ```sh + Option env_auth. + 1 / Enter AWS credentials in the next step + \ (false) + 2 / Get AWS credentials from the environment (env vars or IAM) + \ (true) + env_auth> 1 + + AWS Access Key ID. + access_key_id> {YOUR-ACCESS-ID} + + AWS Secret Access Key (password) + secret_access_key> {YOUR-ACCESS-SECRET} + ``` + +6. Select `us-east-1` region for compatibility. + + ```sh + Region to connect to. + / Default region for compatibility. + 1 | All data is stored in Switzerland. + \ (us-east-1) + region> 1 + ``` + +7. Select the endpoint corresponding to the one generated with your Access and Secret Keys. + + ```sh + Endpoint for S3 API. + 1 / Swiss Backup Location 01 + \ (s3.swiss-backup01.infomaniak.com) + 2 / Swiss Backup Location 02 + \ (s3.swiss-backup02.infomaniak.com) + 3 / Swiss Backup Location 03 + \ (s3.swiss-backup03.infomaniak.com) + 4 / Swiss Backup Location 04 + \ (s3.swiss-backup04.infomaniak.com) + endpoint> 1 + ``` + +8. Adjust other parameters and advanced config at your convenience. Leave blank if not sure. + +9. You should obtain something like this. + + ```sh + Configuration complete. + Options: + - type: s3 + - provider: Infomaniak + - access_key_id: xxxxxxxxxx + - secret_access_key: xxxxxxxxxx + - region: us-east-1 + - endpoint: s3.swiss-backup01.infomaniak.com + ``` + +10. Press `y` to validate. Then `q` to quit. + + ### Intercolo Object Storage {#intercolo} [Intercolo Object Storage](https://intercolo.de/object-storage) offers