Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Borg backup to local/attached and S3 Compatible Object Storage

Borg backup to local/attached and S3 Compatible Object Storage

Scheduled Pinned Locked Moved Discuss
16 Posts 7 Posters 6.1k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jdaviescoatesJ jdaviescoates

      @girish said in Borg backup to local/attached and S3 Compatible Object Storage:

      I changed the permissions back now.

      Thanks.

      I can see now that the most recent post there was from yourself 2 years ago saying:

      We will probably not support this since nobody in the team has expertise on borg. But we now have rsync style backups.

      That's a shame.

      Would it in theory be possible to just install it on my VPS where Cloudron is installed or what that be playing with fire? (as it is I've never touched it aside from initially installing Cloudron)

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by jdaviescoates
      #7

      Any plans for per-app backup configuration so we could have e.g. rsync just for Nextcloud or other apps where we've got loads of data? (I remember proposing or upvoting something about this before)

      Edit: it was proposed for inclusion in 4.5 https://forum.cloudron.io/post/5586

      More details here:
      https://forum.cloudron.io/post/5936

      But then bumped to maybe in 5.2:
      https://forum.cloudron.io/post/7083

      What's the current state of play?

      Thanks! 🙂

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #8

        Borg support is quite unlikely and low priority (mostly because we are not experts on borg and don't want to support a system we don't understand). As for per app backup format, we can re-evaluate it after 6.0.

        jdaviescoatesJ robiR 2 Replies Last reply
        2
        • girishG girish

          Borg support is quite unlikely and low priority (mostly because we are not experts on borg and don't want to support a system we don't understand). As for per app backup format, we can re-evaluate it after 6.0.

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #9

          @girish fair enough, thanks for the update 🙂

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply
          1
          • girishG girish

            Borg support is quite unlikely and low priority (mostly because we are not experts on borg and don't want to support a system we don't understand). As for per app backup format, we can re-evaluate it after 6.0.

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #10

            @girish If there were a secondary backup target feature, that would allow for different backup experimentation.

            Conscious tech

            1 Reply Last reply
            0
            • necrevistonnezrN Offline
              necrevistonnezrN Offline
              necrevistonnezr
              wrote on last edited by
              #11

              Off-topic but maybe interesting for some: There's a pretty desktop client for borg backup: https://github.com/borgbase/vorta and/or https://vorta.borgbase.com/

              Vorta is a backup client for macOS and Linux desktops. It integrates the mighty BorgBackup with your desktop environment to protect your data from disk failure, ransomware and theft.

              • Encrypted, deduplicated and compressed backups using Borg as backend.
              • No vendor lock-in – back up to local drives, your own server or BorgBase, a hosting service for Borg backups.
              • Open source – free to use, modify, improve and audit.
              • Flexible profiles to group source folders, backup destinations and schedules.
              • One place to view all point-in-time archives and restore individual files.

              Vorta should work on all platforms that support Qt and Borg. This includes macOS, Ubuntu, Debian, Fedora, Arch Linux and many others. Windows is currently not fully supported by Borg, but this may change in the future.

              vorta-screencast-6.gif

              marcusquinnM 1 Reply Last reply
              4
              • necrevistonnezrN necrevistonnezr

                Off-topic but maybe interesting for some: There's a pretty desktop client for borg backup: https://github.com/borgbase/vorta and/or https://vorta.borgbase.com/

                Vorta is a backup client for macOS and Linux desktops. It integrates the mighty BorgBackup with your desktop environment to protect your data from disk failure, ransomware and theft.

                • Encrypted, deduplicated and compressed backups using Borg as backend.
                • No vendor lock-in – back up to local drives, your own server or BorgBase, a hosting service for Borg backups.
                • Open source – free to use, modify, improve and audit.
                • Flexible profiles to group source folders, backup destinations and schedules.
                • One place to view all point-in-time archives and restore individual files.

                Vorta should work on all platforms that support Qt and Borg. This includes macOS, Ubuntu, Debian, Fedora, Arch Linux and many others. Windows is currently not fully supported by Borg, but this may change in the future.

                vorta-screencast-6.gif

                marcusquinnM Offline
                marcusquinnM Offline
                marcusquinn
                wrote on last edited by
                #12

                @necrevistonnezr Very nice! Looks like a serious competitor to Backblaze, with pricing about the same up to 1TB if it's just for one computer. Adding this to my to-do list to give it a good trial and likely sign-up.

                Web Design https://www.evergreen.je
                Development https://brandlight.org
                Life https://marcusquinn.com

                1 Reply Last reply
                1
                • D Offline
                  D Offline
                  dswd
                  wrote on last edited by
                  #13

                  Since I opened that issue back then, I want to mention that in the meantime I developed my own backup solution which I think is better than Borg. Right now I am 90% done with version 2 of it and I will definitively use it to backup my Cloudron instance.

                  robiR necrevistonnezrN 2 Replies Last reply
                  3
                  • D dswd

                    Since I opened that issue back then, I want to mention that in the meantime I developed my own backup solution which I think is better than Borg. Right now I am 90% done with version 2 of it and I will definitively use it to backup my Cloudron instance.

                    robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #14

                    @dswd start another thread and tell us more.

                    Conscious tech

                    1 Reply Last reply
                    2
                    • D dswd

                      Since I opened that issue back then, I want to mention that in the meantime I developed my own backup solution which I think is better than Borg. Right now I am 90% done with version 2 of it and I will definitively use it to backup my Cloudron instance.

                      necrevistonnezrN Offline
                      necrevistonnezrN Offline
                      necrevistonnezr
                      wrote on last edited by necrevistonnezr
                      #15

                      @dswd said in Borg backup to local/attached and S3 Compatible Object Storage:

                      Since I opened that issue back then, I want to mention that in the meantime I developed my own backup solution which I think is better than Borg. Right now I am 90% done with version 2 of it and I will definitively use it to backup my Cloudron instance.

                      As mentioned before, I use the built-in daily unencrypted Backup to local filesystem using the rsync backend and the "3 daily, 4 weekly, 6 monthly" schedule.

                      These daily encrypted backups of the "snapshot" folder are backed up via restic to OneDrive (which is in my O365 subscription) with the same schedule as above.

                      This gives me mountable(!) remote point-in-time backups.

                      What I use for backing up (daily):

                      #!/bin/bash
                      d=$(date +%Y-%m-%d)
                      if pidof -o %PPID -x “$0”; then
                      echo “$(date “+%d.%m.%Y %T”) Exit, already running.”
                      exit 1
                      fi
                      restic -r rclone:onedrive:restic backup /media/Cloudron/snapshot/ -p=resticpw
                      restic -r rclone:onedrive:restic forget --keep-monthly 6 --keep-weekly 4 --keep-daily 7 -p=resticpw
                      

                      What I use for pruning (once a month):

                      #!/bin/bash
                      d=$(date +%Y-%m-%d)
                      if pidof -o %PPID -x “$0”; then
                      echo “$(date “+%d.%m.%Y %T”) Exit, already running.”
                      exit 1
                      fi
                      restic -r rclone:onedrive:restic prune -p=resticpw
                      
                      1 Reply Last reply
                      6
                      • girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #16

                        In case, anyone is using borgbase, they seem to be having a big outage. Possibly down for a week already.

                        https://status.borgbase.com/status/default

                        I found out from https://news.ycombinator.com/item?id=37115540
                        image.png

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search