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. Support
  3. Improved encrypted backup stability

Improved encrypted backup stability

Scheduled Pinned Locked Moved Support
backupsspacesencryption
5 Posts 4 Posters 1.0k Views 4 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.
    • yusfY Offline
      yusfY Offline
      yusf
      wrote on last edited by girish
      #1

      @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
      0
      • marcusquinnM Offline
        marcusquinnM Offline
        marcusquinn
        wrote on last edited by
        #2

        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?

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

        mehdiM 1 Reply Last reply
        0
        • marcusquinnM marcusquinn

          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?

          mehdiM Offline
          mehdiM Offline
          mehdi
          App Dev
          wrote on last edited by
          #3

          @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
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

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

            yusfY 1 Reply Last reply
            0
            • girishG girish

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

              yusfY Offline
              yusfY Offline
              yusf
              wrote on last edited by
              #5

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