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
  • Brite
  • 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. Backups still not verified or what?

Backups still not verified or what?

Scheduled Pinned Locked Moved Unsolved Support
cifsbackups
29 Posts 4 Posters 134 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.
  • J Offline
    J Offline
    joseph
    Staff
    wrote last edited by
    #8

    Not at all. Hashing is very well suited for data integrity. Not sure why live snapshots of file system is needed . one two three etc. Plenty of articles to read about this.

    I think but for a start we need to know if what Cloudron thinks it saved on the backup disk matches what is currently on the disk. This is what computing a checksum will tell us.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      joseph
      Staff
      wrote last edited by joseph
      #9

      @philkunz also, none of the app backups (i.e backup of other apps) work and not just a specific one, correct? If not, can you please try to clone a couple of other apps, just to rule out some obvious guesses.

      1 Reply Last reply
      0
      • philkunzP Offline
        philkunzP Offline
        philkunz
        wrote last edited by
        #10

        I needed exactly 2 backups to work from 2 different apps in the last 3 month. Both did not work. The question is: What exactly are you hashing? Where are you creating the hash? How are you creating the hash? A hash is simply a function that can tell you with a certain probability, that a certain input is equal to another input if the hash matches. It tells you nothing about wether the backup works or not. It might increase your odds, but nothing more.

        Just tested with another app -> also failing. And yes, there are hash mismatches. Just tested a few. Hashes do not match.

        1 Reply Last reply
        0
        • philkunzP Offline
          philkunzP Offline
          philkunz
          wrote last edited by
          #11

          So essentially, you are not even comparing backup hashes by reading back the file you just stored, or why is there no warning prior to needing a backup? How can this be considered "verifying" backups?

          1 Reply Last reply
          0
          • philkunzP Offline
            philkunzP Offline
            philkunz
            wrote last edited by
            #12

            Its like you roll the dice with your customers.

            1 Reply Last reply
            0
            • philkunzP Offline
              philkunzP Offline
              philkunz
              wrote last edited by
              #13

              Like take invoiceninja: What do you tell someone who relies on your cloudron solution and who has not taken appropriate measures to save financial data otherwise, because he thought: "I have backups."

              1 Reply Last reply
              0
              • philkunzP Offline
                philkunzP Offline
                philkunz
                wrote last edited by
                #14

                Even for my usecase, mostly gitea instances, it would be shitty to loose data. Good thing I save everything on various levels...

                1 Reply Last reply
                0
                • philkunzP Offline
                  philkunzP Offline
                  philkunz
                  wrote last edited by philkunz
                  #15

                  To put it bluntly: Working Backups are more important than a refined UI, new features, or a new app. If mismatching hashes are not even detected automatically, there is work to be done before doing anything else. Otherwise this in my view is unresponsible negligence for a product like this.

                  1 Reply Last reply
                  0
                  • philkunzP Offline
                    philkunzP Offline
                    philkunz
                    wrote last edited by
                    #16

                    @joseph @girish If you guys need help, want to hop on a call to see whats going on, let me know. I love Cloudron, but this kind of thing needs to work. Given the indications above it seems clear to me, that Cloudron can be improved on this front.

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

                      @philkunz the hash is the hash of the file Cloudron saved to the storage. If they are not matching, then it either means the initial upload by Cloudron was wrong or something is off with the CIFS storage.

                      I can't reproduce this with hetzner CIFS at least which is to say it's not a general problem. Can you get in touch at support@cloudron.io and we can debug this further . Thanks!

                      1 Reply Last reply
                      1
                      • philkunzP Offline
                        philkunzP Offline
                        philkunz
                        wrote last edited by philkunz
                        #18

                        @girish -> The question is: How many people using CIFS actually try to use backups? And how many are complaining? I'll write an email, just one quick question -> Would it be possible to have an option to read back the file after backup to compare it with the hash then? How else would one detect a backup problem at scale? Cause my understanding is, right now the hash does nothing, except show wether a backup is broken when I need it (which is too late to do anything about it, causing potential data loss)

                        girishG 1 Reply Last reply
                        0
                        • philkunzP Offline
                          philkunzP Offline
                          philkunz
                          wrote last edited by philkunz
                          #19

                          The only reason I can think of, why this is not done already by default would be bandwidth and s3 egress cost, otherwise it should be the default tbh, to at least read back what was stored.

                          1 Reply Last reply
                          0
                          • nebulonN Offline
                            nebulonN Offline
                            nebulon
                            Staff
                            wrote last edited by
                            #20

                            So to clarify a bit further, there are two related things mixed I feel. So the latest version does calculate the hashes of the files it expects to be on the backup storage. What is not yet added is the part where the user gets notified or warned if the file on the remote storage does not pass the validation. This will come though.

                            The second is the actual restore issue you are facing and not really related as such to a verification issue, but the situation as such is why we introduced it, it is just not all finished (missing UI mostly)

                            1 Reply Last reply
                            1
                            • philkunzP philkunz

                              @girish -> The question is: How many people using CIFS actually try to use backups? And how many are complaining? I'll write an email, just one quick question -> Would it be possible to have an option to read back the file after backup to compare it with the hash then? How else would one detect a backup problem at scale? Cause my understanding is, right now the hash does nothing, except show wether a backup is broken when I need it (which is too late to do anything about it, causing potential data loss)

                              girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote last edited by girish
                              #21

                              @philkunz hetzner storage box (CIFS) is widely used. I don't have numbers since we don't collect them. I don't have much idea about Synology/CIFS .

                              Would it be possible to have an option to read back the file after backup to compare it with the hash then?

                              yes, that's exactly the eventual idea. I think maybe we misled you with the "What's coming in 9.0" post. I make those posts much in advance to collect feedback etc (that post was made a year ago). It doesn't mean everything there got implemented. I usually go back and edit them to indicate what got implemented and what got moved etc. I guess it's a balance between whether to communicate what's coming etc or not. We keep the development open so such inconsistencies are unavoidable.

                              Specifically for integrity, we are still working on this - some technical notes here and here . It's still a WIP and not exposed to user until we are sure that the integrity is reliable. It would be even worse if we assured the user that things are good when they aren't .

                              1 Reply Last reply
                              1
                              • philkunzP Offline
                                philkunzP Offline
                                philkunz
                                wrote last edited by philkunz
                                #22

                                Interesting part is -> I tested with another cloudron instance that runs on another company account, but uses the same Synology backup target -> that one works. Really strange. Yet there is another user in the linked thread that has the same problem...

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

                                  Just checked my Synology (but mine is a router and not a DS), it only has SMB 2 . @philkunz the DS has SMB3 correct?

                                  1 Reply Last reply
                                  0
                                  • philkunzP Offline
                                    philkunzP Offline
                                    philkunz
                                    wrote last edited by
                                    #24

                                    Yes, smb3. recreating the site config does not help. Then errors out as Password/Mac mismatch on restoration.

                                    1 Reply Last reply
                                    0
                                    • philkunzP Offline
                                      philkunzP Offline
                                      philkunz
                                      wrote last edited by
                                      #25

                                      I think it has something to do with bigger backups like upwards 20GB of data

                                      1 Reply Last reply
                                      0
                                      • philkunzP Offline
                                        philkunzP Offline
                                        philkunz
                                        wrote last edited by
                                        #26

                                        Has to be a cifs problem related to large backups. NFS works, Otherwise same setup.

                                        girishG 1 Reply Last reply
                                        0
                                        • philkunzP Offline
                                          philkunzP Offline
                                          philkunz
                                          wrote last edited by
                                          #27

                                          But that points to how important the e2e read back step is.

                                          nebulonN 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