Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
This guide details how to back up data from your folders and nodes on Jelastic Cloud using the OpenStack Swift protocol on Swiss Backup, the backup solution in an independent Swiss cloud.
For this purpose, an extension is provided for Virtuozzo (Jelastic Cloud). Learn more about the extension (add-on) on Github.
Prerequisites
- Use Jelastic Cloud (at least one Jelastic environment must be active with the extension installed for your backups to be visible)
- Own an Infomaniak Swiss Backup space with an available device quota (minimum 1) for Cloud backup
- Add 1 device of type Cloud to obtain OpenStack Swift settings
⚠️ Swiss Backup is compatible with any application supporting Openstack Swift, S3 Compatible, or SFTP. For additional assistance, contact a partner — also read the hosting provider's role.
Configuring the Swiss Backup extension on Jelastic Cloud
To add the useful extension to Swiss Backup on Jelastic Cloud:
- Log in to your server's Jelastic Cloud Dashboard
- Go to Marketplace
- Search for and install the Backup / Restoration extension
Two types of backups are possible and detailed below:
- Backup specific folders
- Create a snapshot of an entire node
Backing Up Specific Folders
For backing up specific directories:
- Enter the username and password according to your device's specific information (read this guide - click here)
- Check Backup your data
- Check Backup specific folders
- Enter the absolute path of the folders to back up in the Folders to backup field; you can specify multiple folders by separating each path with a comma, e.g., /root/admin/, /home/user1/, /jelastic/containers/ (in this example, 3 folders have been specified)
Then, define the backup frequency (explained below).
Backing Up an Entire Node
For backing up an entire node:
- Enter the username and password of your Swift device on Swiss Backup
- Check Backup your data
- Check Backup all files to back up the entire file system of a node; some files are automatically excluded:
- /dev, /proc, /sys, /run folders
- Unmounted file systems as part of the root partition, including virtual file systems
Then, define the backup frequency (explained below).
Defining Backup Frequency and Retention Policy
Backup Frequency
Two options are available for performing the backup:
- daily (at 8 p.m. UTC)
- hourly (at the beginning of each hour, e.g., at 1 p.m., at 2 p.m., etc.)
Retention Policy
You can set the retention duration of your backups in years, months, days, and hours. To keep your backups indefinitely, simply set the parameters to 0.
For example, if you perform backups hourly and set a retention policy for 1 year, 2 months, 4 days, 2 hours, each backup will be available for a period of 1 year, 2 months, 4 days, 2 hours (=10322 backups). Note that backup deletions occur every Sunday at 10:30 p.m. (UTC).
Attention: Do not set all parameters to 0, as permanent backups can cause backup failures.
Recommended Limits:- Year: 1
- Month: 12
- Days: 99
For hourly backups, a maximum retention of one month is recommended. Beyond this value, some backups may fail.
Restoring Backups
Restoring Node Data
- Log in to your server's Jelastic Dashboard
- Go to Marketplace
- Search for and install the Swiss Backup extension
- Enter the username and password of your Swift device on Swiss Backup
- Check Restore your data
- Select the node containing the backup to restore
- Select the backup to restore and the restore folder
- Click the Restore button
Restoring Specific Folders from a Snapshot (CLI)
Each backup corresponds to a unique ID. You can include and exclude folders from your snapshots during a restore. To view your snapshots:
- . /home/.config/swissbackup/openrc.sh
- restic snapshots
- Use --exclude and --include to restrict restoration to a subset of files in the snapshot. For example, to restore a single file: restore 79766175 --target /tmp/restore-work --include /work/foo
There are case-insensitive variants of --exclude and --include called --iexclude and --iinclude. These options behave the same way but ignore case in paths.
Modifying Backup Configuration
- Log in to your server's Jelastic Dashboard
- Go to Marketplace
- Search for and install the Swiss Backup extension
- Modify the configuration as desired
Manually Modifying Backup Scheduling (CLI)
Backup scheduling is defined by a cronjob, and backups are performed using the restic tool.
To modify the scheduling of your backups:
As root user, run the command crontab -l to display the current schedules:- the line containing retention-all.sh corresponds to the backup task
- the line containing purge.sh corresponds to the backup retention task
Example:
Modify the schedule using the command crontab -e
You can modify the line composed of the script rentention-all.sh or retention.sh; these scripts correspond to launching your backups. Note: the crons have been designed not to cause problems between multiple backups and deletions. Please pay attention to the time required for backups and deletions.- Learn more about cronjobs: crontab.guru
- Learn more about restic: restic.net
Manually Deleting Backups (CLI)
- Source the configuration file:
. /home/.config/swissbackup/openrc.sh - Display available backups:
restic snapshots - Delete the desired backup:
restic forget IdBackup --prune - Delete all backups of a file except one:
restic forget --tag folders --keep-last 1 --prune
Delete Backup Schedule
This button allows you to delete your backup schedule:
Uninstalling the Swiss Backup Extension
It is necessary to remove the backup schedule (see above) before you can uninstall the Swiss Backup extension:
This guide details how to back up an Android device (Samsung, Huawei, OnePlus, etc.) using Acronis on Swiss Backup, the independent Swiss cloud backup solution.
Preamble
- What you can back up:
- Contacts & Calendars
- Photos (original size and format of your photos are preserved)
- Videos
- It's also possible to back up other types of data
⚠️ For additional assistance, contact a partner or submit a request for proposal — also read the role of the hosting provider
Configure Backup
Prerequisites
- Have a Swiss Backup space with Infomaniak with a available device quota (minimum 1) for Mobile
- If necessary, increase the device quota according to your needs
- Add the device in Infomaniak Manager to receive the login credentials
- Read the Acronis documentation on this topic
To set up mobile backup on Android with Acronis:
- Download and install the Acronis Cyber Protect application from the Google Play Store
- Open the application and log in to the Acronis Agent with the credentials obtained after adding the device — refer to this guide if needed
- Click on Backup and choose the data to back up
- Click Validate to start backing up the data
This guide details how to backup an Apple iOS device (iPhone, iPad, etc.) using Acronis on Swiss Backup, the independent Swiss cloud backup solution.
Introduction
- What you can backup:
- Contacts & Calendars
- Photos (original size and format of your photos are preserved)
- Videos
- You can also backup other types of data
⚠️ For additional assistance, contact a partner or submit a tender — also read about the role of the host
Configure Backup
Requirements
- Have a Swiss Backup Infomaniak space with available device quota (minimum 1) for Mobile
- If necessary, increase device quota according to your needs
- Add the device in Infomaniak Manager to receive login credentials
- Read Acronis documentation on this topic
To configure mobile backup on Android with Acronis:
- Download and install Acronis Cyber Protect (not Acronis Mobile) from the App Store
- Open the application and log in to the Acronis Agent with the credentials obtained after adding the device — refer to this guide if needed
- Click on Backup and select the data to backup
- Click Validate to start backing up the data
This guide details how to back up a computer equipped with the Linux distribution of your choice using Acronis on Swiss Backup, the backup solution in an independent Swiss cloud.
It is also possible to back up (Cloud Backup) a Linux server using rClone.
Prerequisites
- Check the Linux versions supported by the Acronis Agent; use
uname -r
to know your kernel version - Have a Swiss Backup Infomaniak space with an available device quota (minimum 1) for VM or Linux/Windows server
- If necessary, increase the device quota according to your needs
- Add the device in the Infomaniak Manager to receive the login credentials
The following instructions have been tested with Debian 9 ⚠️ For additional help, contact a partner or submit a tender — also read the role of the host
Configure the Backup
To configure the backup with Acronis:
- Log in to the Acronis Console (acronis.infomaniak.com) — read this guide (click here) if needed
- Download and install the Acronis Agent for Linux
- Install the required dependencies:
sudo apt update
sudo apt install rpm gcc linux-image-$(uname -r) linux-headers-$(uname -r) - Make the .bin file executable:
chmod +x Backup_Agent_for_Linux_x86_64.bin - Launch Acronis:
sudo ./Backup_Agent_for_Linux_x86_64.bin - Follow the installation program instructions
- At the end of the installation, select Show registration info
- Go to https://acronis.infomaniak.com/bc/reg
- Enter the code displayed in point 7 in the window for this purpose
- Create a backup plan
This guide details how to restore a computer equipped with Windows using Acronis on Swiss Backup, the backup solution in an independent Swiss cloud.
Prerequisites
- Have a backup of the computer on Swiss Backup (read this guide)
- Read Acronis documentation regarding the restoration of physical machines
- The computer to be restored must be connected to the Internet via Ethernet cable (or WiFi depending on the computer's capabilities)
Restore the backup
To start, from the affected computer or any other machine:
- Log in to the Acronis Console (acronis.infomaniak.com) — read this guide (click here) if needed
- Click on Devices in the left sidebar
- Click the Restore button on your relevant backup plan
- Click on Other ways to restore at the top of the interface:
Navigate through the backed-up files
If necessary, locally or remotely, you can initially just restore the files you need:
- Click on the Download files button (in the Browse Cloud Storage section)
- Open the relevant backup
- Enter the encryption password if required
- Browse the tree, select your files
- Click Download to get a .zip file containing your selected files
Also, read this guide (click here).
Create a boot disk (on a USB key, for example)
To create a Windows boot disk and enable the restoration of a computer:
- Click on the Download ISO image button (in the Restore entire machine section)
- Safely note the code in the form AA11-BB22-CC33 that appears on the screen (more information)
- Use software like Etcher to create a boot disk from the downloaded .iso file
Start the computer from the removable media
Start the computer from this boot disk (by pressing the required key according to your machine: F1, F2, F10, F12, Del, etc.) and then follow these steps:
- Click on Rescue Media
- Connect the computer via Ethernet (or if necessary configure the Wi-Fi from the link on the right side of the interface if the computer allows it) then click on Manage the device locally
- Click on Restore
- Click on Select data...
- Click on the Browse button
- Under Cloud Storage, click on either:
- Log In and use the Acronis credentials (in the form SBA-XXXX-ADMIN) to authenticate (the keyboard is by default in EN-US, make sure to type the password in plain text to check if necessary)
- OR Use the registration code if you have 2FA enabled, following the proposed procedure (which involves claiming a temporary code (in the form ABCD-ABCD) and then going to the page
https://acronis.infomaniak.com/ui/#w=agentRegistration
to enter this code once logged into your Acronis account)
- Log In and use the Acronis credentials (in the form SBA-XXXX-ADMIN) to authenticate (the keyboard is by default in EN-US, make sure to type the password in plain text to check if necessary)
- Then click on your Acronis account ID and continue to access the backups (the encryption password will be required if it had been activated - point 12 of this guide)
- Choose the workstation, the restore point, and the volumes (disks) to restore
Useful information:- Use the arrow to the left of the workstation name to display the backups
- The first table at the top allows you to choose the workstation and backup to restore
- The second table allows you to choose the content (disks) of the backup to restore
- Click OK to continue
- Match the original and destination volumes
Useful information:- For each volume or disk of the source backup, click on Required to choose where to restore the data
- Under Restoration options, it is recommended to check the Automatic restart box
- Click OK to start the restoration
This guide details how to back up the files and directories of your choice using the Duplicati application via the OpenStack Swift protocol on Swiss Backup, the independent Swiss cloud backup solution.
Prerequisites
- own a Swiss Backup Infomaniak space with an available device quota (minimum 1) for a Cloud Backup
- add 1 device of type Cloud to obtain OpenStack Swift settings
⚠️ Swiss Backup is compatible with any application that supports OpenStack Swift, S3 Compatible, or SFTP. For additional help, contact the support of the software used or a partner — also read the host's role
Installing 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 Linux distribution
- launch the installation of the program, you can keep the default choices
Configuring Duplicati Software
To do this:
- after installation, a web page should have opened; if not, go to http://localhost:8200
- click on Add Backup and 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 passphrase if needed
- under Storage Type select Openstack Object Storage / Swift
- fill in the fields according to the information specific to your device (read this guide - click here) as follows:
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 check that your credentials are correct, then click on Next
- fill in the fields according to the information specific to your device (read this guide - click here) as follows:
- select the folders to back up and click 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 your backup name or wait for the next scheduled backup
Restoring 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 from the Restore From dropdown menu
- you can also use the search field if you want to restore a specific file/folder
- select your data to restore from the tree structure
- choose the location for restoring the data:
- 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
- choose whether 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 finish
Resolving a 502 bad gateway or 401 unauth error
With Windows 10, connections to the Infomaniak Swift server are made with TLS 1.2, while with Windows 11, this is done using TLS 1.3, which generates errors. If the choice is restricted to TLS 1.2, then everything works fine.
To do this:
- add the advanced option for allowed SSL versions:
- and select Tls 1 2:
This guide explains how to edit email notifications & alerts from the Acronis Agent used to back up your devices with Swiss Backup.
Enable / Disable Alerts & Notifications
To access the management interface:
- Log in to the Acronis Console (acronis.infomaniak.com) — refer to this guide (click here) if needed
- Click on Account Management in the left sidebar:
- Click on Business Manager
- Click on the relevant user in the displayed table
- Click on the pencil icon in the settings block:
- Click on Save to save the changes:
Change the Recipient Email Address
To change the email address receiving notifications:
- Log in to the Acronis Console (acronis.infomaniak.com) — refer to this guide (click here) if needed
- Click on Account Management in the left sidebar:
- Click on Business Manager
- Click on the relevant user in the displayed table
- Click on the General Information tab in the top right
- Click on the pencil icon:
- Edit the email address
- Click on Save to save the change:
Generate Ad-Hoc Reports
To allow multiple people to receive ad-hoc reports and customize them, read this guide (click here).
This guide explains how to permanently uninstall the Acronis Backup Agent for Swiss Backup on Apple Mac computers.
Also, refer to Acronis documentation on this topic.
Remove Backup Agent from macOS
To do this:
- Log in to the Acronis Console (acronis.infomaniak.com) — refer to this guide (click here) if needed
- Click on the user icon at the top right
- Click on Downloads
- Choose the client suitable for your machine
- Open the .dmg once downloaded
- Double-click on Uninstall
- Confirm if necessary the opening of the application
- Confirm if necessary the uninstallation of the application
- Wait until the uninstallation is complete
This guide explains how to create a new device (Cloud backup via FTP/SFTP) on Swiss Backup, the independent Swiss cloud backup solution.
Prerequisites
- Order a Swiss Backup space from Infomaniak
- when ordering, define the available device quota(s) (minimum 1) under backup type Cloud:
- if necessary, increase the device quota according to your needs
Add a device (for FTP/SFTP connection)
To access Swiss Backup and set up a new free backup:
- Log in to the Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Firefox
- Click on the icon in the top right corner of the interface (or navigate through the left sidebar menu, for example)
- Choose Swiss Backup (in the Cloud Computing universe)
- Click on the name of the relevant object in the displayed table:
- Click on the blue Manage my devices button (in the Cloud Backup Space section):
- Click on the blue Add a device button:
- Choose the type/protocol of free FTP/SFTP backup
- Click on the blue Continue button:
- Choose the user who will receive the login information (if necessary, choose a user different from yours and provide the person's details in the next additional step)
- Click on the blue Continue button:
- Give a name to the backup
- Set the maximum disk space that this backup space should represent from the total volume of the subscribed Swiss Backup, increasing if necessary the total size through the blue link
- Click on the blue Continue button:
- Click on the blue button to view the login information:
- This part mentions, among other things, the number representing the location, useful to complete some information you will need when configuring your backup application
- This part provides all the login information
- The location or hostname for SFTP and FTP connection below, with the port number (default ports for these protocols)
- The password (to be generated using the blue link that will open the assistant in a browser popup or via the link received by email):
What's next?
Once the device is added to the Swiss Backup interface within the Infomaniak Manager, you can configure the application of your choice to start your Cloud backups via the protocol mentioned in this guide.
Attention: for a file transfer from an FTP/SFTP connection to succeed, the file volume must not exceed 200 GB.
This guide details how to restore an Apple macOS computer using Acronis on Swiss Backup, the backup solution in an independent Swiss cloud.
Prerequisites
- The Acronis application must be installed on the computer where you want to perform the restoration; use the same credentials used to back up the machine when registering the agent:
- Read Acronis documentation on this subject
- Log in to the Acronis Console (acronis.infomaniak.com) — read this guide (click here) if needed
- Click the Add button in the top right corner
- Click on Mac
- Download and install the application
Create a Bootable USB Drive
To do this:
- Insert a blank USB drive of at least 4 GB into your Mac (warning: data on the drive will be erased)
- Open the Rescue Media Builder application from the Applications folder in your Mac's Finder. This application has automatically been installed with the Acronis application
- Select the detected USB drive and click Create Media
Start the Restoration Procedure
To do this:
- Restart the Mac with the bootable USB drive
- Depending on the macOS version, press and hold a key on the keyboard (consult the Apple guide to find out which one) during startup
- If necessary, click on the bootable USB drive to boot from it
Configure and Start the Restoration
To do this:
- Select your drive in Rescue Media Builder:
- Click on Rescue Boot Media:
- Click on Recover:
- Click on Select Data...
- Then click on Browse
- and select Cloud Storage; then click on the Log in button
- Use the device credentials to authenticate yourself
- Choose the Mac to restore and then click OK to start the restoration:
- If you chose to encrypt your backups, you will be asked for the backup password:
- In the upper part of the screen, select the available backup you want to restore:
- Once the backup is selected, in the lower part of the screen you can select the type of item to restore as well as those you want to restore; it is recommended to select the Volumes type and restore all available Volumes, this to restore all your hard drive(s)... then start the restoration by clicking the OK button:
- The restoration will then start, you can follow the progress via the Progress tab:
Once at 100%, your Mac will restart several times in a row (this is normal) until the entire procedure is completed.