1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Back up Linux with rClone on Swiss Backup
This guide details how to backup a server running the Linux distribution of your choice to Swiss Backup, the independent Swiss cloud backup solution.
Prerequisites
- Have an Infomaniak Swiss Backup space with an available device quota (minimum 1) for Cloud backup
- Install the rClone application using the package manager of your Linux distribution
- Add 1 device of type Server to obtain the rClone parameters
⚠️ Swiss Backup is compatible with any application that supports Openstack Swift, S3 Compatible, or SFTP. For additional assistance, please contact the support for the software you are using or a partner — also, read the role of the host.
Configure rClone for Swiss Backup
To configure a new backup:
- Download the rclone file received by email after adding the device
- Place the file in the directory ~/.rclone.conf.config/rclone/ or append the file's contents to the end of the existing ~/.rclone.conf.config/rclone/rclone.conf file (on Debian Stretch, this file is located at: ~/.rclone.conf) — rClone documentation
- Open the rclone.conf file with a text editor and replace [password] with the generated password:
- Run the rclone config command to verify that the configuration has been applied
- Start the backup with the command rclone sync /local/path project_name:default
If needed, you can retrieve the login information in your Manager.
Example rClone Configuration
type = swift
user = SBI-AB123456
key = [password]
auth (1) = https://swiss-backup02.infomaniak.com/identity/v3
domain = default
tenant = sb_project_SBI-AB123456
tenant_domain = default
region = RegionOne
storage_url =
auth_version =
(1) The "//swiss-backup02", "//swiss-backup03", etc. may vary based on the cluster number indicated in the Manager under Cloud Storage Information in "Location"; if your Swiss Backup device was created before October 2020, you will need to use https://swiss-backup.infomaniak.com/identity/v3
You can replace [sb_project_SBI-AB123456] with a name of your choice for convenience.
For example, using [swissbackup] would be:
instead of:
Start a Backup or Restore
Start a backup with the following command:
rclone sync /local/folder sb_project_SBI-AB123456:remote/folder
Start a restore with the following command:
rclone sync sb_project_SBI-AB123456:remote/folder /local/folder