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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Export App Backup

    Feature Requests
    backup
    5
    13
    349
    Loading More Posts
    • 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.
    • robi
      robi last edited by girish

      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.

      Life of Gratitude.
      Life of Advanced Technology

      jdaviescoates 1 Reply Last reply Reply Quote 3
      • jdaviescoates
        jdaviescoates @robi last edited by

        @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

        jdaviescoates 1 Reply Last reply Reply Quote 0
        • jdaviescoates
          jdaviescoates @jdaviescoates last edited by

          @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.

          1 Reply Last reply Reply Quote 1
          • girish
            girish Staff last edited by

            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 Reply Quote 2
            • robi
              robi last edited by

              Perhaps the improvement to rsync is to use:

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

              Life of Gratitude.
              Life of Advanced Technology

              1 Reply Last reply Reply Quote 0
              • girish
                girish Staff last edited by 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.

                robi 1 Reply Last reply Reply Quote 1
                • robi
                  robi @girish last edited by

                  @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

                  Life of Gratitude.
                  Life of Advanced Technology

                  girish 1 Reply Last reply Reply Quote 0
                  • girish
                    girish Staff @robi last edited by

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

                    robi 1 Reply Last reply Reply Quote 0
                    • robi
                      robi @girish last edited by

                      @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.

                      Life of Gratitude.
                      Life of Advanced Technology

                      girish 1 Reply Last reply Reply Quote 0
                      • girish
                        girish Staff @robi last edited by

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

                        robi 1 Reply Last reply Reply Quote 0
                        • Lonkle
                          Lonkle last edited by

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

                          1 Reply Last reply Reply Quote 0
                          • robi
                            robi @girish last edited by

                            @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.

                            Life of Gratitude.
                            Life of Advanced Technology

                            1 Reply Last reply Reply Quote 1
                            • necrevistonnezr
                              necrevistonnezr last edited by

                              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 Reply Quote 3
                              • First post
                                Last post
                              Powered by NodeBB