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


Navigation

    Cloudron Forum

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

    Export App Backup

    Feature Requests
    backup
    5
    13
    93
    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.
    • 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
        
        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

            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.

                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
                  • Lonk
                    Lonk 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.

                      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