Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
This guide details how to save data from your folders and nodes Jelastic Cloud via protocol OpenStack Swifton Swiss Backup the backup solution in an independent Swiss cloud.
Preamble
- In order to save data, an extension for Virtuozzo (Jelastic Cloud) is available in the node addons.
- Read more on the extension (add-on) on Github.
- Do not look for the extension in the Marketplace, it is not there:
Configure Swiss Backup extension on Jelastic Cloud
Prerequisites
- Use Jelastic Cloud (at least one Jelastic environment must be active with the extension installed to make your backups visible).
- 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.
To add the useful extension to Swiss Backup on Jelastic Cloud:
- Log in to Jelastic Cloud dashboard from your server.
- See you on the add-on section of the node:
- Look for and install the extension Backup / Restoration:
Two types of backup are then possible and detailed below:
- Save specific folders.
- Create a snapshot of a knot Integer.
Save specific folders
For the backup of specific directories:
- Inform him username and password according to on information specific to your device.
- Check Backup your data.
- Check Backup specific folders
- Inform the absolute path of folders to be saved in the field Folders to backup ; it is possible to specify several folders by separating each path by a comma, e.g.:
/root/admin/, /home/user1/, /jelastic/containers/
(in this example, 3 folders were specified)...
Then we have to define the frequency backups (read below).
Save an Integer Node
For the backup of an integer node:
- Inform your Swift device's username and password on Swiss Backup.
- Check Backup your data.
- Check Backup all files to save the entire file system of a node; some files are automatically excluded:
- folders
/dev
,/proc
,/sys
,/run
- file systems not mounted as part of the root partition, including virtual file systems
- folders
Then we have to define the frequency backups.
Set frequency and retention policy for backups
Two options are available to perform the backup:
- daily (at 8 p.m. UTC)
- every hour (at the beginning of the hour, e.g. at 1 p.m., 2 p.m., etc.)
You can set the shelf life of your backups in years, months, days and hours. To keep your backups indefinitely, simply set the settings to 0.
For example, if you perform backups every hour and set a retention policy at 1 year, 2 months, 4 days, 2 hours, this means that each backup will be available for a period of 1 year, 2 months, 4 days, 2 hours (=10322 backups). Note that the removal of backups is done every Sunday at 10:30 pm (UTC).
Attention : do not set all settings to 0, as permanent backups can result in backup failures.
Recommended limits:
- Year: 1
- Month: 12
- Days: 99
For backup time (each hour), it is recommended a maximum retention of one month. Beyond this value, some backups may fail.
Restore backups
Restore data from a node
- Log in to Jelastic dashboard from your server.
- Once the extension and password username of your Swift device has been added to Swiss Backup, check Restore your data.
- Select the node that contains the backup to restore:
- Select the backup to restore and the restore folder.
- Click on the button Restore:
Restore snapshot-specific folders (CLI)
Each backup corresponds to a unique ID. You can include and exclude files from your snapshots when restoring. To see your snapshots:
. /home/.config/swissbackup/openrc.sh
restic snapshots
- Use
--exclude
and--include
to restrict restoration to a subset of files in the snapshot. P.ex. to restore a single file:restore 79766175 --target /tmp/restore-work --include /work/foo
There are variants insensitive to the cassation of --exclude
and --include
called --iexclude
and --iinclude
These options behave in the same way but ignore the breakage of paths.
Change the configuration of the backup
To this end:
- Log in to Jelastic dashboard from your server.
- Once the extension and password username of your Swift device has been added to Swiss Backup, change the configuration as desired.
The backup calendar is set by a cronjob and backups are performed using the restic tool.
To manually change backup planning (CLI), as root user, execute the command crontab -l
to display 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:
Edit the schedule using the command crontab -e
.
You can change the line composed of the script retention-all.sh
or retention.sh
, these scripts correspond to the launch of your backups. Be careful: crons have been designed not to cause problems between backups and multiple deletions. Pay attention to the time required for backups and deletions...
- Learn more about cronjobs: crontab.guru
- Learn more about restic: restic.net
Manually Delete Backups (CLI)
To this end:
- Source the configuration file:
. /home/.config/swissbackup/openrc.sh
- Display the available backups:
restic snapshots
- Remove the desired backup:
restic forget IdBackup --prune
- Remove all backups from a file except one:
restic forget --tag folders --keep-last 1 --prune
Delete backup planning
This button allows you to delete the planning of your backup:
Uninstall the Swiss Backup extension
It is necessary to delete the backup planning (see above) before you can remove the Swiss Backup extension:
⚠ Swiss Backup is compatible with any Openstack Swift, S3 Compatible or SFTP-supporting application. For additional assistance contact a partner — discover also the role of the host.
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 save a computer equipped with the Linux distribution of your choice with the help of Acronis on Swiss Backup the backup solution in an independent Swiss cloud.
It is also possible to save (Cloud backup) a Linux server usingrClone.
Prerequisites
- Check Linux versions supported by the Acronis Agent; use
uname -r
to know your version of kernel. - Possession of space Swiss Backup Infomaniak with a device quota available (minimum 1) for VM or Linux/Windows server:
- If necessary, increase the aircraft quota Depending on your needs.
- Add device to Manager Infomaniak in order to receive login identifiers.
Differences between devices
Choose Virtual Machine:
- Virtual machine hosted in a hypervisor environment (e.g. VMware, Hyper-V, Scale Computing HC3 or Virtuozzo).
- VPS server or virtual machine in a Public Cloud Infomaniak environment
- These environments rely on virtualization technologies, and the license is designed to cover this type of configuration.
- The physical host that hosts virtual machines must be covered by a single license, and this license includes all VMs present on that host.
- Cluster hypervisors with multiple hosts (each host requires a VM license).
Choose Linux Server:
- Physical machine or individual virtual machine running under Linux (server operating system).
- Standalone server-type machine (whether hosted locally or on a cloud without complex virtualization environment, and without hypervisors like VMware or Hyper-V to manage virtual machines on this device).
- Each license covers an individual physical or virtual machine.
- Physical server at home or in co-location.
The following instructions have been tested with Debian 99⚠For additional assistance contact a partner or launch a call for tenders free of charge — discover also the role of the host.
Configure backup
To configure the backup with Acronis:
- Click here in order to gain access to the Console Acronis with the identifiers obtained following the addition of the device (Need help?).
- Download and install it Agent Acronis for Linux.
Install the required dependencies:
sudo apt update sudo apt install rpm gcc linux-image-$(uname -r) linux-headers-$(uname -r)
Return the file
.bin
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 shown in item 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 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 :
This guide explains how to edit notifications & email alerts of the Acronis Agent used to save your devices with Swiss Backup.
Enable/disable alerts & notifications
To access the management interface:
- Click here in order to gain access to the Console Acronis with the identifiers obtained following the addition of the device (Need help?).
- Click on Account management in the left side menu:
- Click on Business leader.
- Click on the user in the table that appears.
- Click on the icon pencil In the parameter block:
- Click on Validate to save changes:
Change the email address of the reception
To change the email address that receives the notifications:
- Click here in order to gain access to the Console Acronis with the identifiers obtained following the addition of the device (Need help?).
- Click on Account management in the left side menu.
- Click on Business leader.
- Click on the user in the table that appears.
- Click on the tab General information Top right.
- Click on the icon pencil ✎:
- Edit the email address.
- Click on Validate to save the modification:
Generate ad hoc reports
Be aware of this other guide if you are looking for information about the management of ad hoc reports (Customize them, or allow several people to receive them).
This guide explains how permanently uninstall Acronis Backup Agent for Swiss Backup on Apple's Macs.
Read also Acronis documentation on this subject.
Delete Backup MacOS Agent
To this end:
- Click here in order to gain access to the Console Acronis with the identifiers obtained following the addition of the device (Need help?).
- Click on the user icon at the top right.
- Click on Downloads.
- Choose the customer suitable for your machine.
- Open it
.dmg
Once downloaded. - Double-click Uninstall:
- Confirm the opening of the application if necessary.
- 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 Infomaniak space.
- When ordering, have defined the available device quota (minimum 1) under backup type Cloud:
- If necessary, increase the device quota according to your needs.
- **Warning:** For a file transfer from an FTP/SFTP connection to succeed, **the file size must not exceed 10 TB**.
- It is recommended to check and adjust, if necessary, the timeout settings of your FTP software/client.
Add a device (for FTP/SFTP connection)
To access Swiss Backup and set up a new backup:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product:
- Click the blue button Manage my devices (in the Cloud Backup Space section):
- Click the blue button Add a device:
- Choose the backup type/protocol FTP/SFTP.
- Click the blue Continue button:
- Select the user who will receive the connection information (if necessary, choose a user different from yours and specify the person's details in the following additional step).
- Click the blue Continue button:
- Give a name to the backup.
- Define the maximum disk space that this backup space should represent from the total volume of the subscribed Swiss Backup, increasing the total size if necessary using the blue link.
- Click the blue Continue button:
- Click the blue button to display the connection information :
- This section mentions, among other things, the number representing the location, which is useful for completing certain information that you will need to provide when configuring your backup application.
- This section provides all the connection information.
- The location or host server name for the 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):
And then?
Once the device has been added to the Swiss Backup interface within the Manager Infomaniak, you can configure your preferred application to start your Cloud backups via the protocol mentioned in this guide.
This guide details how to restore a Apple macOS computer with the help of Acronis on Swiss Backup the backup solution in an independent Swiss cloud.
Prerequisites
- The Acronis application must be installed on the computer on which you wish to restore; use the same identifiers as those used to save the machine when recording the agent:
- Be aware of Acronis documentation on this subject.
- Click here in order to gain access to the Console Acronis with the identifiers obtained following the addition of the device (Need help?).
- Click on the button Add Top right.
- Click on Mac.
- Download and install the application.
Create a boot USB flash drive
To this end:
- Insert a blank USB flash drive of at least 4 GB into your Mac (please note: the data contained on the key will be deleted).
- Open the app Rescue Media Builder from folder Applications of the Finder Your Mac. This application was automatically installed with the Acronis application.
- Check the detected USB drive and click on Create Media.
Initiate restoration procedure
To this end:
- Restart the Mac with the boot USB drive.
- Depending on the macOS version press and hold a key of the keyboard pressed (be aware of this Apple guide to know which) when restarting.
- If necessary, click the USB boot drive to start it.
Configure and Launch Restore
To this end:
- Select your key on Rescue Media Builder:
- Click on Emergency start support:
- Click on Recovery:
- Click on Select Data:
- ... then on Browse:
- and select Cloud storage; then click on the button Log in:
- Use the device identifiers to authenticate:
- Choose the Mac to restore and click Okay. to start restoration:
- If you have chosen to encrypt your backups, the backup password will be asked:
- At the top of the screen, select the available backup you want to restore:
- Once the backup is selected, you will be able to select the type of item you want to restore from the bottom of the screen as well as the ones you want to restore; it is recommended to select the type Volumes and restore all available Volumes, this in order to restore all of your hard drive(s)... then launch the restore by the OK button:
- The restoration is then started, you can follow the progress through the Progress tab:
Once 100% your Mac will restart several times in a row (that's normal) until the entire process is complete.