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. Feature Requests
  3. Export App Backup

Export App Backup

Scheduled Pinned Locked Moved Feature Requests
backup
13 Posts 5 Posters 2.3k Views 5 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.
  • robiR robi

    For those of us juggling multiple Cloudrons, it would be very useful to have a way to export an App backup on Cloudron1 which we can then import on Cloudron2.

    I realize there is a workaround by temporarily sharing the external backup target credentials, but that is disruptive to current backups and setup/policy.

    Alternatively it would be useful to have a secondary backup target, which could be used for this purpose.

    jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    wrote on last edited by
    #2

    @robi isn't that already possible using this:

    Screenshot from 2020-10-15 22-40-31.png

    See https://docs.cloudron.io/backups/#import-app-backup

    I use Cloudron with Gandi & Hetzner

    jdaviescoatesJ 1 Reply Last reply
    0
    • jdaviescoatesJ jdaviescoates

      @robi isn't that already possible using this:

      Screenshot from 2020-10-15 22-40-31.png

      See https://docs.cloudron.io/backups/#import-app-backup

      jdaviescoatesJ Online
      jdaviescoatesJ Online
      jdaviescoates
      wrote on last edited by
      #3

      @jdaviescoates said in Export App Backup:

      See https://docs.cloudron.io/backups/#import-app-backup

      Ah, having actually now read that, I think what you're asking it to make the whole process a lot easier, right?

      I'd quite like a really basic option to just to be able actually download/ upload the actual backup as a file to then import, not just the configuration file.

      I use Cloudron with Gandi & Hetzner

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

        The issue with downloading backups is that it's not clear how it can be implemented for rsync format. That is how can I download a "bundle" in the browser when the remote storage is rsync format. Only way is to download the full backup on the server first and then create a tar ball that the browser can download (so, we have to think about size constraints for this).

        1 Reply Last reply
        2
        • robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #5

          Perhaps the improvement to rsync is to use:

          tar --listed-incremental=snapshot.file -cvzf backup.tar.gz /path/to/dir
          

          Conscious tech

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

            FWIW, none of the cloud service providers themselves have a way to download a "directory". Not S3, not DO spaces etc. It's a hard problem to solve.

            robiR 1 Reply Last reply
            1
            • girishG girish

              FWIW, none of the cloud service providers themselves have a way to download a "directory". Not S3, not DO spaces etc. It's a hard problem to solve.

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

              @girish what about cp & sync:
              aws s3 cp s3://myBucket/dir /local/folder --recursive or
              aws s3 sync s3://myBucket/dir /local/folder --recursive?

              SDKs have a downloadDirectory method from TransferManager class

              Conscious tech

              girishG 1 Reply Last reply
              0
              • robiR robi

                @girish what about cp & sync:
                aws s3 cp s3://myBucket/dir /local/folder --recursive or
                aws s3 sync s3://myBucket/dir /local/folder --recursive?

                SDKs have a downloadDirectory method from TransferManager class

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #8

                @robi I thought you wanted it downloaded via the browser? You can already down a backup with aws s3 CLI tool, no?

                robiR 1 Reply Last reply
                0
                • girishG girish

                  @robi I thought you wanted it downloaded via the browser? You can already down a backup with aws s3 CLI tool, no?

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

                  @girish said in Export App Backup:

                  @robi I thought you wanted it downloaded via the browser?

                  The Cloudron UI, yes.

                  You can already down a backup with aws s3 CLI tool, no?

                  the previous comment was to disagree with:

                  @girish said in Export App Backup:

                  FWIW, none of the cloud service providers themselves have a way to download a "directory". Not S3, not DO spaces etc. It's a hard problem to solve.

                  Looked at another way, let's ask the question, how can we make it easy to clone, from backup, Apps across Cloudrons.

                  Push vs pull methods such as, send this app to Cloudron2 or pull this app from Cloudron1.

                  Conscious tech

                  girishG 1 Reply Last reply
                  0
                  • robiR robi

                    @girish said in Export App Backup:

                    @robi I thought you wanted it downloaded via the browser?

                    The Cloudron UI, yes.

                    You can already down a backup with aws s3 CLI tool, no?

                    the previous comment was to disagree with:

                    @girish said in Export App Backup:

                    FWIW, none of the cloud service providers themselves have a way to download a "directory". Not S3, not DO spaces etc. It's a hard problem to solve.

                    Looked at another way, let's ask the question, how can we make it easy to clone, from backup, Apps across Cloudrons.

                    Push vs pull methods such as, send this app to Cloudron2 or pull this app from Cloudron1.

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #10

                    @robi ah, I meant none of them allow you to download via the browser either.

                    robiR 1 Reply Last reply
                    0
                    • LonkleL Offline
                      LonkleL Offline
                      Lonkle
                      wrote on last edited by
                      #11

                      I agree that the process for all of this should looked at and made easier for a typical user.

                      1 Reply Last reply
                      0
                      • girishG girish

                        @robi ah, I meant none of them allow you to download via the browser either.

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

                        @girish you can be the first to make it possible!
                        Then sell the integration FTW! 😛

                        Depending on what's used it's a few CLI parameters.

                        Conscious tech

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

                          Adding to this: Maybe it's possible to implement a backup browser via the file browser, at least for the rsync format and even for encrypted backups?

                          1 Reply Last reply
                          3
                          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