1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Backup Linux with rClone on Swiss Backup (Swift)
This guide details how to back up a server equipped with your choice of Linux distribution on Swiss Backup the backup solution in an independent Swiss cloud.
Prerequisites
- Have a Swiss Backup Infomaniak space with at least one available device quota for a Cloud Backup.
- Install the rClone application via your Linux distribution's package manager.
- Add 1 device but of type Server to obtain the rClone parameters
⚠️ All the services offered by Infomaniak are compatible with the corresponding standard protocols (notably IMAP/SMTP for email, WebDAV for sharing, S3/Swift for storage, etc.). Therefore, if you encounter a problem with third-party software, contact its publisher directly or a Partner and consult the support policy as well as article 11.9 of the Infomaniak Terms and Conditions.
Set up 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 place the content of the file at the end of the existing file~/.rclone.conf.config/rclone/rclone.conf
(on debian stretch, this file is located at the following location:~/.rclone.conf
) —also refer to the rClone documentation. - Open the
rclone.conf
file with a text editor and replace[password]
with the generated password: - Run the command
rclone config
to ensure the configuration has been properly applied. - Start the backup with the command
rclone sync /local/path project_name:default
.
If needed, you can find the connection information on the Manager.
Example of rClone configuration
[sb_project_SBI-AB123456]
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 indication "//swiss-backup02
", "//swiss-backup03
" etc. changes according to the cluster number indicated on the Manager in the Cloud storage information under "Location"; and if your Swiss Backup device was created before October 2020, you will need to use https://swiss-backup.infomaniak.com/identity/v3
You can change [sb_project_SBI-AB123456]
to any indication of your choice for easier use.
For example, the indication [swissbackup]
will give:
rclone sync /local/folder swissbackup:remote/folder
instead of:
rclone sync /local/folder sb_project_SBI-AB123456:remote/folder
Start a backup or a restore
Launch a backup with the following command:
rclone sync /local/folder sb_project_SBI-AB123456:remote/folder
Launch a restoration with the following command:
rclone sync sb_project_SBI-AB123456:remote/folder /local/folder