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

    Improved encrypted backup stability

    Support
    backups spaces encryption
    4
    5
    307
    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.
    • yusf
      yusf last edited by girish

      @nebulon in the Matrix room:

      s3 implementations often have different filename/path length restrictions. Especially if backup encryption is on.

      I've experienced trouble with both Spaces and Minio. Spaces becoming unresponsive (support recommended deleting it and start over 🤯). Minio can't replicate said file structure because of the Cloudron encrypted backup file naming convention.

      • Can something be done to ensure better compatibility with Digital Ocean's object space offering: Spaces?
      • Can the same be done regarding Minio?
      1 Reply Last reply Reply Quote 0
      • marcusquinn
        marcusquinn last edited by

        Not sure if related but I wonder if file-paths can be hashed before being encrypted so they don't go over the max length limitation?

        We're not here for a long time - but we are here for a good time :)
        Jersey/UK
        Work & Ecommerce Advice: https://brandlight.org
        Personal & Software Tips: https://marcusquinn.com

        mehdi 1 Reply Last reply Reply Quote 0
        • mehdi
          mehdi App Dev @marcusquinn last edited by

          @marcusquinn said in Improved encrypted backup stability:

          Not sure if related but I wonder if file-paths can be hashed before being encrypted so they don't go over the max length limitation?

          Nope. It must be possible to "reverse" the encryption, to decrypt the backup when restoring. But hashing is only one-way. So there would have to be an index/dictionary/hash-table thingy in addition in order to be able to reverse the hash, which makes the whole thing much more complicated.

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

            Can you tell me what errors you faced with minio? Already the filenames are base64 after encryption, not sure what more we can do .

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

              @girish In my case I was trying to mirror the content of a remote DO object storage to a local Minio instance. I can't recall the exact error but I remember it had to do with the handling of filenames.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB