1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Save macOS/Windows/Linux with Duplicati on Swiss Backup (Swift)
This guide details how to save files and directories of your choice using the application Duplicati via protocol OpenStack Swifton Swiss Backup the backup solution in an independent Swiss cloud.
Prerequisites
- Possession of space Swiss Backup Infomaniak with an available device quota (minimum 1) for a Cloud backup.
- Add 1 device Type Cloud to get the parameters OpenStack Swift.
⚠Swiss Backup is compatible with any Openstack Swift, S3 Compatible or SFTP-supporting application. For additional assistance contact the support of the software used or partner — discover also the role of the host.
Install Duplicati software
To this end:
- Visit 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.
Configure Duplicati Software
To this end:
- After the installation, a web page had to open; if not, visit
http://localhost:8200
. - Click on Add Backup then select Configure a new backup.
- Give a name and possibly a description to your backup plan.
- Enable encryption or not and set an encryption phrase if necessary.
- In Type of Storage select Openstack Object Storage / Swift.
- Replace
SBI-XXXXXXXX
and "passwd
" according to information specific to your device (be aware of this other guide):
Name of Bucket: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
Region of container: leave empty - Click on Test Connection and check that your IDs are correct and click Next.
- Replace
- Select folders to save and click Next.
- Set your backup preferences.
- It is recommended to leave the option Remote volume size at its default value.
- Choose your preference for data retention.
- The option Smart Backup Retention is recommended - will then be kept a backup 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 returned to the home page; you can launch 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 this end:
- Open a web browser and visit http://localhost:8200.
- Click on the menu " Restore"to the left.
- If Duplicati is not configured to access your Swiss Backup, see above.
- Choose the location from which you want to restore data.
- Choose the date of the data to restore from the drop-down menu Restore since …
- You can also use the search field if you want to restore a specific file/folder.
- Select your data to restore in the tree.
- Choose the location of data restoration:
- Original location restores the data where it was during backup.
- Choose Location allows you to restore data to a different folder than the original one.
- Choose whether or not you want to keep 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 until the end of the process.
Solve an error 502 bad gateway or 401 unauth
With Windows 10, connections to the Swift Infomaniak server are made with TLS1.2 while with Windows 11, this is done in TLS1.3, which generates errors. If we limit the choice to TLS 1.2, then everything goes well.
To this end:
- Add Advanced option of the SSL versions allowed :
- and select Tls 1 2 :