Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Back up macOS/Windows/Linux with Duplicati on Swiss Backup (Swift)
This guide details how to save your chosen files and directories using the Duplicati application via the OpenStack Swift protocol on Swiss Backup, the backup solution in an independent Swiss cloud.
Preamble
- The various services offered by Infomaniak are all compatible with the corresponding standard protocols (S3/Swift for storage, for example), therefore if you encounter a problem with third-party software, contact its publisher or a Partner and consult the support policy as well as section 11.9 of the Infomaniak Terms of Service.
Install the Duplicati software
To do this:
- Go to the Duplicati website: https://www.duplicati.com/
- Click the "Download Duplicati" button.
- Choose the version corresponding to your operating system or your Linux distribution.
- Launch the program installation, you can keep the default choices.
Configure the Duplicati software
Prerequisites
- Have a Swiss Backup Infomaniak space with an available device quota (minimum 1) for a Cloud Backup.
- Add 1 device of type Cloud to obtain the OpenStack Swift parameters.
Then:
- After installation, a web page should have opened; if not, go to
http://localhost:8200. - Click on Add Backup then select Configure a new backup.
- Give a name and optionally a description to your backup plan.
- Enable or disable encryption and set an encryption phrase if needed.
- In Storage Type select Openstack Object Storage / Swift.
- Replace
SBI-XXXXXXXXand "passwd" according to your device's specific information (refer to this other guide):
Bucket Name:default
OpenStack AuthURi:https://swiss-backupXX.infomaniak.com/identity/v3(XX = check your Swiss Backup Manager account and replace the exact URL)
Keystone API Version:V3
Domain Name:default
Username:SBI-XXXXXXXX
Password: your password
Identity Name:sb_project_SBI-XXXXXXXXXX
API Key: leave blank
Container Region: leave blank - Click on Test Connection and verify that your credentials are correct, then click on Next.
- Replace
- Select the folders to back up and click on Next.
- Define your backup preferences.
- It is recommended to leave the Remote volume size option at its default value.
- Choose your preference regarding data retention.
- The Smart backup retention option is recommended - a backup will then be kept for each of the last 7 days, each of the last 4 weeks, each of the last 12 months.
- Click on Save.
- You will be taken back to the home page; you can start a backup immediately by clicking on Start now next to the name of your backup or wait for the next scheduled backup.
Restore a device with Duplicati
To do this:
- Open a web browser and go to http://localhost:8200.
- Click on the "Restore" menu on the left.
- If Duplicati is not configured to access your Swiss Backup space, see above.
- Choose the location from which you want to restore data.
- Choose the date of the data to restore in the Restore from dropdown menu…
- You can also use the search field if you want to restore a specific file/folder.
- Select the data to restore in the tree view.
- Choose the data restoration location:
- Original location restores the data where it was during the backup.
- Choose location allows you to restore data to a different folder than the original one.
- Choose whether you want to keep or not the files that already exist on your machine in case of conflict or rename the file with its last modification date.
- Click on Restore and wait for the process to complete.
Resolve a 502 bad gateway or 401 unauth error
With Windows 10, connections to the Infomaniak Swift server are made with TLS1.2, whereas with Windows 11, this is done with TLS1.3, which generates errors. If you restrict the choice to TLS 1.2, then everything works fine.
To do this:
- Add the advanced option for allowed SSL versions:

- and select Tls 1 2:

Link to this FAQ: