Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Backup Windows/Mac/Linux with Swiss Backup and Duplicati
This guide explains how to back up files and directories of your choice with Duplicati.
Prerequisites
It is required to add a device of type "Free storage space" before you can configure the backup.
Install Duplicati software
- go to the Duplicati website: https://www.duplicati.com/
- click on the "Download Duplicati" button
- choose the version corresponding to your operating system or your Linux distribution
- launch the installation of the program, you can keep the default choices
Configure the Duplicati software
- after installation, a web page should open. If not, go to 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 or disable encryption and set a passphrase if needed
- in "Storage type" select "Openstack Object Storage / Swift"
- fill in the fields with your Swiss Backup connection information:
Bucket name: default
OpenStack AuthURi: https://swiss-backup XX .infomaniak.com/identity/v3 ( XX = check your Swiss Backup Manager account and replace the URL exact)
Keystone API Version: V3
Domain Name: default
Username: SBI-XXXXXXXX
Password: your password Identity Name
Identity name : sb_project_SBI-XXXXXXXXXX
API Key: leave blank
Container Region: leave blank
The user name and identity name are visible in your Infomaniak manager on the device dashboard in Swiss Backup. The password must be activated on this same page. - click on "Test the connection" and check that your credentials are correct then click on "next"
- fill in the fields with your Swiss Backup connection information:
- select the folders to backup and click "next"
- set your backup preferences
- we advise you to leave the "Remote volume size" option at its default value
- choose your preference regarding data retention. We recommend the "Smart Backup Retention" option. 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 "Start Now" next to your backup name or wait for the next scheduled backup.
Restore a device with Duplicati
- 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 backup space, see above.
- choose the location from which you want to restore data
- choose the date of the data to be restored in the "Restore from" drop-down menu
- you can also use the search field if you want to restore a specific file/folder
- select your data to restore in the tree structure.
- choose the location of the data restoration:
"Original location" restores the data where it was during the backup
"Choose location" allows you to restore data in 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
- Permissions: ?
- click on "Restore" and wait for the process to complete
Link to this FAQ: