burger
infomaniak
infomaniak
  • Products
    • Our best-sellers
    • I would like
    • Domain name
    • Hosting and Cloud
    • kSuite
    • Backup & storage
    • Marketing
    • Ticketing solution
    • Multimedia
    Our flagship products :
        Our current flagship products kSuite
      • kdrive kDrive
        Store, collaborate and share your files
      • mail service kMail
        The mailbox that respects your privacy
      • kChat kChat Coming soon
        Communicate live with your team
      • General public
      • Domain name Domain name
        Reserve your domain name at the best price
      • web hosting Web Hosting
        Create your websites (WordPress + 100 CMS)
      • web hosting Wordpress hosting
        Create your website easily with WordPress
      • Cloud Computing
      • Cloud Server Cloud Server
        Create your websites using dedicated resources
      • public cloud Public cloud
        High-Performance Cloud Infrastructure
      • jelastic cloud Jelastic Cloud (PaaS)
        Your custom development environments
      • swiss backup Swiss Backup
        Back up all your devices in Switzerland
      Quick actions
      Transfer a domain name Compare hosting offers Migrate email addresses Renewal Warranty Pay an invoice Guides and FAQs
      What would you like to do?
        Create a website
      • Create a site with WordPress
      • Create a website with CMS
      • Find a web agency to create my website
      • Compare hosting offers
        Manage my domain name
      • Transfer a domain
      • Transfer multiple domains
        Collaborate online
      • Create an email address
      • Store files online with kDrive
        Store my data
      • kDrive
      • Swiss Backup
      • Nas Synology
        Manage my organisation
      • Pay an invoice
      • Renew a product
      • Get Renewal Warranty
      • Become a partner
      • Become an affiliate
        All you need to ensure your presence on the internet.
      • Domain name Domain name
        Reserve your domain name at the best price
      • renewal warranty Renewal Warranty
        Secure your domains against loss and theft
      • Domain privacy Domain Privacy
        Protect your domains’ private data
      • DNS Fast Anycast FastAnycast DNS
        Boostez le temps d’acces de vos sites
      • SSL Certificat SSL certificates
        Secure your websites with an EV or DV certificate
      • Dyn DNS DynDNS
        Easily access your devices remotely
      Quick actions
      Transfer a domain name Launch a Whois search Compare domain prices Our tips
      Renew a domain name
        All you need for your sites, apps and email addresses. Web
      • web hosting Web Hosting
        Create your websites (WordPress + 100 CMS)
      • web hosting Wordpress hosting
        Create your website easily with WordPress
      • Cloud Server Cloud Server
        Create your websites using dedicated resources
      • High availibility Very High Availability
        Cloud infrastructure with custom SLA contract
      • Cloud Computing
      • Cloud Server Unmanaged Cloud Server
        Create a Windows / Linux server
      • public cloud Public Cloud (IaaS)
        High-Performance Cloud Infrastructure
      • jelastic cloud Jelastic Cloud (PaaS)
        Your custom development environments
      • swiss backup Swiss Backup
        Back up all your devices in Switzerland
      Quick actions
      All-in-one web + mail offer Renewal Warranty Guides and resources Renew a hosting
      Case studies
      Read article
        kSuite, the ethical collaborative solution
        Find all the applications you need to collaborate online.
        Discover the kSuite
        Included with kSuite
      • kdrive kDrive
        Store, collaborate and share your files
      • kpaste kPaste
        Share and encrypt your sensitive information
      • ksuite Custom Brand
        Control the brand image of your products
      • mail service kMail
        The mailbox that respects your privacy
      • swisstransfer SwissTransfer
        Send your files up to 50 GB free of charge.
      • kChat kChat Coming soon
        Communicate live with your team
      • kmeet kMeet
        Organise your meetings online in complete security
      Quick actions
      Migrate email addresses Import files from a different cloud Renewal Warranty Guides and FAQs Migrate from a different messaging service Renew
      Case studies
      Read article
        Backup and send your documents securely
      • swiss backup Swiss Backup
        Back up all your devices in Switzerland
      • kdrive kDrive
        Store, collaborate and share your files
      • nas synology Synology NAS
        Hire a NAS in Switzerland with a fixed IP
      Quick actions
      Why store data with Infomaniak? Renewal Warranty Guides and FAQs
      Renew
        Keep in touch and communicate easily with your audience
      • newsletter Newsletter
        Send your newsletters at favourable rates
      • Guest Manager Guest manager
        Manage invitations to your events easily
      Quick actions
      Guides and FAQs
      Buying credits
        Organise your events with an approved ticketing system
      • online shop Ticketing
        Create your ticketing service and sell tickets.
      • Access Control Access Control
        Easily control access to your events.
      • events portal Events portal
        Promote and purchase your tickets.
      • Promote and sell your tickets
        Festival
        Concert
        Theatre
        Sport
        Museum exhibition
        Funny
        Family
        Leisure activities
      Quick actions
      Prices and FAQs Sales, printing and control equipment Log in to my ticketing service
      Case studies
      Read article
        Broadcast your programmes and videos on a large scale
      • Streaming radio Streaming radio
        Create your online radio and monetise your live content
      • streaming video Streaming Video
        Create your online TV and monetise your webcasts
      • VOD and AOD VOD & AOD service
        Host and monetise your videos and podcasts
      Quick actions
      Guides and FAQs
      Renew
    • About us
      • Vision and values Our vision, our commitments
      • The team The teams behind our products
      • Infomaniak and the environment Our environmental commitments
      • Infomaniak is recruiting Want to join us? Apply now!
      • Press and communication All our resources at your disposal
      • Blog & news Follow and share our news
      • Partners Search for or become an Infomaniak partner
      quote image

      Choosing infomaniak means being committed to the economy of tomorrow. Sustainable, social and local: infomaniak’s values for 25 years.

      Boris Siegenthaler, Co-Founder and CSO

      quote image

      We cannot save the world by complying with the current rules because the rules need to be changed. Everything must change and this needs to start today.

      Alexandre Patti, Energy Manager

      quote image

      Don’t come and work here... you’ll never be able to leave!

      Thibaut, front-end developer

      quote image

      Infomaniak is an independent company committed to ecology, a sustainable economy and a privacy-friendly internet. We design and develop our infrastructures and cloud solutions from start to finish.

      quote image

      The best place to follow the continuous development of our products and our ethical and ecological vision of digital transformation.

      Partner programme

      Benefit from our know-how and grow your clientele

      Become a partner →

      The Infomaniak partners

      Search among more than 1000 partners

      See the partners →

      Call for tenders

      Call on our partners to help you with your project

      Create a call for tenders →
    • Support
      • FAQs 1000 FAQs, 500 tutorials and instructional videos
      • Documentation for developers Free access to our APIs for your projects
      • Contact us Via chat, phone or email.
    • Price
      Updated price.
      All prices are now displayed excluding taxes All prices are now displayed including taxes
      Language
      • English
        • Français
        • Deutsch
        • Italiano
        • Español
      • EN
        • FR
        • DE
        • IT
        • ES
      Price
      Updated price.
      All prices are now displayed excluding taxes All prices are now displayed including taxes
    • Sign up
    • Sign in
      • Workspace

        Webmail, contacts, calendar

      • Manager

        Managing Infomaniak products

    Knowledge base

    1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!

    Knowledge base Swiss Backup: Jelastic extension to back up folders and node data

      Swiss Backup: Jelastic extension to back up folders and node data

      This guide shows how to use the Swiss Backup extension to back up your Jelastic node data.

      Swiss Backup is a backup solution that enables the automatic backup of your files, workstations, mobile devices and servers. Your data is stored in Infomaniak's data centers in Switzerland in at least three different physical locations. You are thus ensured that nothing will be lost.

      1. Requirements

      • Use Jelastic (discover Jelastic Cloud)
      • Have a Swiss Backup account (create a free account)
      • At least one environment must be enabled with the extension installed to ensure that your backups are visible

      2. Configure Swiss Backup

      1. Open the Manager (manager.infomaniak.com)
      2. Go to Swiss Backup
      3. Click on Add a device
      4. Select a free storage space
      5. Give a name to this space and determine a quota
      6. Note the username (e.g., SXY-PM000000) and generate a password via the email received

      3. Configure the Swiss Backup extension on Jelastic

      1. Log in to your server's Jelastic dashboard
      2. Go to the Marketplace
      3. Find and install the Backup / Restoration
        extension

      Two types of backup are then possible:

      1. Back up specific folders
      2. Create a snapshot of an entire node

      We will now explain these two possibilities in detail.

      3.1 Back up specific folders

      1. Enter the username and password for your free Swiss Backup location (cf. point 2, step 6)
      2. Tick Backup your data
      3. Tick Backup specific folders
      4. Enter the absolute path of the folders you want to save in the Folders to backup field. It is possible to specify several folders by separating each path with a comma, as in the image below. e.g.: /root/admin/, /home/user1/, /jelastic/containers/ (3 folders are specified in this example).

      sign

      Then refer to point 3.3. to define the frequency of backups.

      3.2 Back up an entire node

      • Tick Backup your data
      • Tick Backup all files to save the entire file system of a node. Note that certain files are automatically excluded:
        • /dev, /proc, /sys, /run folders
        • file systems that are not assembled as part of the root partition, including virtual file systems.

      sign

      Then refer to point 3.3. to define the frequencyof backups.

      3.3 Define backup frequency and retention policy

      Backup frequency

      Two options are available:

      • daily backups (at 8:00 p.m. UTC)
      • hourly backups (at the beginning of each hour, e.g. at 1:00 p.m., 2:00 p.m., etc.)

      Retention policy

      You can configure the storage period in years, months, days and hours. If you wish to store your backups indefinitely, simply set the parameters to 0.

      If, for example, you make hourly backups and define a retention policy of 1 year, 2 months, 4 days and 2 hours, this means that each backup will be available for a period of 1 year, 2 months, 4 days and 2 hours (=10,322 backups). Note that the deletion of backups takes place every Sunday at 10:30 p.m. (UTC).

      NB: please do not set all settings to 0 because permanent backups can cause backup failures.

      Recommended limits:

      - Year: 1
      - Months: 12
      - Days: 99

      For an hourly backup, we recommend a maximum retention period of one month. Beyond that, some backups may fail.

      4. Restore backups

      4.1 Restore node data

      1. Log in to your server's Jelastic dashboard
      2. Go to the Marketplace
      3. Find and install the Swiss Backup extension
      4. Enter the username and password of your free Swiss Backup location (cf. point 2, step 6)
      5. Tick Restore your data
      6. Select the node that contains the backup to be restored (figure 1)
      7. Select the backup to be restored and the restoration folder (figure 2)
      8. Click on Restore

      sign

      Figure 1.

      sign

      Figure 2.

      4.2 Restore specific folders of a snapshot (CLI)

      Each backup corresponds to a unique ID. You can include and exclude folders in/from your snapshots when restoring. To view your snapshots:

      1. . /home/.config/swissbackup/openrc.sh
      2. restic snapshots
        sign
      3. use --exclude and --include to restrict restoring to a sub-set of files in the snapshot. For example, to restore a single file: restore 79766175 --target /tmp/restore-work --include /work/foo

      There are some non-case-sensitive variations of --exclude and --include called --iexclude and --iinclude. These options behave in the same way but are insensitive to the case of the paths.

      5. Modify the backup configuration

      1. Log in to your server's Jelastic dashboard
      2. Go to the Marketplace
      3. Find and install the Swiss Backup extension
      4. Modify the configuration as required

      5.1 Manually modify the backup routine (CLI)

      The backup calendar is defined by a cronjob and backups are performed using the restic tool.

      To modify your backup routine:

      As a root user, launch the crontab -l command to display current times:


      • The line containing retention-all.sh corresponds to the backup task
      • The line containing purge.sh corresponds to the backup retention task

      For example:

      sign

      Modify the schedule using the crontab -e command

      You can edit the line containing retention-all.sh or retention.sh; these scripts correspond to the launch of your backups. Please note: the crons have been designed to avoid causing problems between backups and multiple deletions. Please pay attention to the time required for backups and deletions
      • To find out more about cronjobs, visit the crontab.guru website
      • To find out more about restic, consult the restic.net/ website

      6. Manually delete backups (CLI)

      1. Open the configuration file:
        . /home/.config/swissbackup/openrc.sh
      2. Display the backups available:
        restic snapshots
      3. Delete the backup concerned:
        restic forget IdBackup --prune
      4. Delete all the backups of a file except one:
        restic forget --tag folders --keep-last 1 --prune

      sign


      7. Delete the backup routine

      This button enables you to delete your backup routine:

      sign

      8. Uninstall the Swiss Backup extension

      It is necessary to delete the backup routine (see chapter 8) before you can uninstall the Swiss Backup extension.

      sign

      Find out more

      • Getting started with Swiss Backup
      • Try out Jelastic Cloud free of charge
      • Try out Swiss Backup free of charge


      Link to this FAQ:
      Has this FAQ been helpful?
      Thank you for your feedback. Improve this FAQ?
      Please do not ask any questions through this form, it is only used to improve our FAQ.
      Please use our contact form for any question.
      Your message has been sent. Thank you for suggesting an improvement to this FAQ.
      Display all FAQs for this product

      Infomaniak

      About Infomaniak Infomaniak is recruiting Press and media Infomaniak blog All certificates

      Support

      Assistance 7/7 FAQ and guides API REST Report abuse

      Partnerships

      Become a reseller Affiliate programme Directory of partners Requests for quotes

      Ecology

      Green hosting Certificates & awards

      Follow our development

      The email entered is invalid

      icann-logo
      swiss
      new-iso
      swiss-hosting
      ©2023 Infomaniak - Legal documents - Legal notice - Data Protection - Privacy Policy - Site map
      facebook
      twitter
      linkedin
      instagram
      infomaniak-avatar
      facebook
      twitter
      linkedin
      instagram
      icann-logo
      swiss
      new-iso
      swiss-hosting

      Infomaniak

      About Infomaniak Infomaniak is recruiting Press and media Infomaniak blog All certificates

      Support

      Assistance 7/7 FAQ and guides API REST Report abuse

      Partnerships

      Become a reseller Affiliate programme Directory of partners Requests for quotes

      Ecology

      Green hosting Certificates & awards

      Follow our development

      The email entered is invalid
      icann-logo
      swiss
      new-iso
      swiss-hosting

      facebook
      twitter
      linkedin
      instagram
      ©2023 Infomaniak
      Contracts - Legal notice - Data Protection - Privacy Policy - Site map

      Managers

      Your browser is outdated, security and browsability are no longer guaranteed. We recommend that you update it as soon as possible by clicking here.