1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Backup macOS/Windows/Linux with Duplicati on Swiss Backup (Swift)
This guide details how to back up your chosen files and directories using the application Duplicati via the OpenStack Swift protocol 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.
- Add 1 device of type Cloud to obtain the OpenStack Swift 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.
Install the Duplicati software
For this:
- Go to the Duplicati website: https://www.duplicati.com/
- Click on the "Download Duplicati" button.
- Choose the version corresponding to your operating system or Linux distribution.
- Launch the program installation, you can keep the default choices.
Set up the Duplicati software
For this:
- 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 a passphrase if needed.
- In Storage Type select Openstack Object Storage / Swift.
- Replace
SBI-XXXXXXXX
and "passwd
" according to information specific to your device (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 empty
Container Region: leave empty - 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.
- Set 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 - this will keep one backup for each of the last 7 days, each of the last 4 weeks, and each of the last 12 months.
- Click on Save.
- You will be taken back to the homepage; 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
For 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 storage space, see above.
- Choose the location from which you want to restore data.
- Choose the date of the data to restore from the dropdown menu Restore fromβ¦
- 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 to where it was during the backup.
- Choose location allows you to restore data to a folder other 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 files with their 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 Swift Infomaniak server are made with TLS1.2, while with Windows 11, this is done with TLS1.3, which generates errors. If you restrict the choice to TLS 1.2, everything works fine.
To do this:
- Add the advanced option for allowed SSL versions:
- and select Tls 1 2: