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 Beta
        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
      • Site Creator Site Creator
        Build your website step by step
      • Cloud Computing
      • Cloud Server Linux/Windows server
        Create a Windows or Linux server
      • 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
      • New Create a website with the Infomaniak website generator
      • 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
      • Site Creator Site Creator
        Build your website step by step
      • Cloud Server Managed Cloud Server
        Create your websites using 100% dedicated resources
      • High availibility Very High Availability
        Cloud infrastructure with custom SLA contract
      • Cloud Computing
      • Cloud Server Linux/Windows server
        Create a Windows or 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 Beta
        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
      • About the support service Close and attentive to our customers
      • Premium Support offer Support dedicated to your needs
    • 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 Backup web hosting with Swiss Backup and Restic

      Backup web hosting with Swiss Backup and Restic

      This guide explains how to use Swiss Backup to back up your web hosting data (shared or cloud server - read point 8 below).

      This makes it possible to keep backups that you make from time to time longer, while our automatic backups have a limited shelf life.

      Swiss Backup is a backup solution that allows you to automate the backup of your files, workstations, mobiles and servers. Your data is stored in Switzerland in Infomaniak datacenters in at least three different physical locations. You are therefore guaranteed not to lose anything.


      Prerequisites

      • Using web hosting (discover our web hosting)
      • Have a Swiss Backup account (create an account for free)


      Configure Swiss Backup

      Create a location.


      Install Restic

      1. Download the linux_amd64 binary from the restic github repository https://github.com/restic/restic/releases

      uid@h2web:~$ wget -O restic.bz2 https://github.com/restic/restic/releases/download/v0.14.0/restic_0.14.0_linux_amd64.bz2< /span>

      ⚠️ Download link may vary when new version is released. Version 0.14 uses compression by default.

      2. Unzip the archive and make the binary executable

      uid@h2web:~$ bunzip2 restic.bz2
      uid@h2web:~$ chmod +x restic


      Configure Restic

      1. Creating an encryption key

      • You must create an encryption key to encrypt the data
      • Please note that the key cannot be changed and in case of loss the data will no longer be readable.
      • Place this key in a file readable by Restic
      • Example generating a key
        uid@h2web:~$ openssl rand -base64 16 > restickey

      2. Configuring restic

      • The creation of the restic configuration is based on the access obtained when creating the Swiss Backup location
      • Create a resticconfig file with the following content, adapting it with the access information to your Swiss Backup

      echo "export OS_AUTH_URL=https://swiss-backupXX.infomaniak.com/identity/v3
      export OS_REGION_NAME=RegionOne
      export OS_PROJECT_NAME=sb_project_SBI-XXXX
      export OS_PASSWORD=''
      export OS_USER_DOMAIN_NAME=default
      export OS_USER_DOMAIN_NAME=SBI-XXXX
      export OS_PROJECT_DOMAIN_NAME=default
      export RESTIC_REPOSITORY=swift:sb_project_SBI-XXXX:/
      export RESTIC_PASSWORD_FILE=restickey" > ; resticconf

      • OS_AUTH_URL Access URL to the swissbackup cluster sent by email when creating the access
      • OS_PROJECT_NAME and OS_USERNAME replace the SBI-XXXX with your username communicated by email when creating the access
      • OS_PASSWORD Replace with the password generated when activating the swissbackup location
      • RESTIC_REPOSITORY
        1. Replace the SBI-XXXX with your username communicated by email when creating the access
        2. Replace with the name you want to give to your container that stores backups
      • RESTIC_PASSWORD_FILE replace with the full path to the file containing the encryption key


      3. Loading Restic configuration

      Load the Restic configuration by issuing the following command:

      source resticconf


      4. Bucket initialization

      Initialize the bucket with the following command:

      uid@h2:~$ ./restic -r $RESTIC_REPOSITORY init


      Back up your files

      To back up your files, just run the following command:

      uid@h2:~$ ./restic backup


      #example to backup an entire hosting


      uid@h2: ~$ ./restic backup ./
      #example to backup the sites folder


      uid@h2:~$ ./restic backup if

      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 Premium Support offer 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 Premium Support offer 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.