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. App Backups Not Happening?

App Backups Not Happening?

Scheduled Pinned Locked Moved Solved Support
backups
14 Posts 2 Posters 1.6k Views 2 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.
    • doodlemania2D Offline
      doodlemania2D Offline
      doodlemania2
      App Dev
      wrote on last edited by girish
      #1

      I have my apps backing up:
      7d0ae725-2b4f-456a-be48-6c99b38b0d37-image.png

      But when I go to download one, I get an error:
      a8fb6591-38bc-4940-9896-48cd71637334-image.png
      a945c641-55ec-456c-b9b9-220c7c71b3b8-image.png

      A quick look at my S3 endpoint (idrive) and the files are indeeed not there:
      af183d5d-9977-42d3-b084-98624c1ffd46-image.png

      Since snapshots are there, I checked the full system backups and they seem fine:
      42603185-882c-4399-9a1c-71ff03cc3643-image.png

      and:
      79ef9033-d2c4-4bf3-8b2b-388aae5580b5-image.png

      It's like the app specific backups that happen when I update an app are just ... not happening - file not found style.

      This bit me today when attempting to roll baserow back because "something" changed and my webhooks stopped working. Since none of the listed backups were actually present on idrive, I assume I have data loss, except for the snapshot.

      So, two questions - can I restore a single app from a snapshot of the system backup and...how can I figure out what's cooking with my app backups?

      girishG 1 Reply Last reply
      2
      • doodlemania2D doodlemania2

        I have my apps backing up:
        7d0ae725-2b4f-456a-be48-6c99b38b0d37-image.png

        But when I go to download one, I get an error:
        a8fb6591-38bc-4940-9896-48cd71637334-image.png
        a945c641-55ec-456c-b9b9-220c7c71b3b8-image.png

        A quick look at my S3 endpoint (idrive) and the files are indeeed not there:
        af183d5d-9977-42d3-b084-98624c1ffd46-image.png

        Since snapshots are there, I checked the full system backups and they seem fine:
        42603185-882c-4399-9a1c-71ff03cc3643-image.png

        and:
        79ef9033-d2c4-4bf3-8b2b-388aae5580b5-image.png

        It's like the app specific backups that happen when I update an app are just ... not happening - file not found style.

        This bit me today when attempting to roll baserow back because "something" changed and my webhooks stopped working. Since none of the listed backups were actually present on idrive, I assume I have data loss, except for the snapshot.

        So, two questions - can I restore a single app from a snapshot of the system backup and...how can I figure out what's cooking with my app backups?

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @doodlemania2 If I understand your screenshots correctly, the files are in Snapshot directory but there are no other files ? i.e there are no top level timestamped directories alongside the snapshot directory. This feels like the "copy object" is not working. Can you confirm? Seems quite serious if that's the case.

        doodlemania2D 1 Reply Last reply
        1
        • girishG girish

          @doodlemania2 If I understand your screenshots correctly, the files are in Snapshot directory but there are no other files ? i.e there are no top level timestamped directories alongside the snapshot directory. This feels like the "copy object" is not working. Can you confirm? Seems quite serious if that's the case.

          doodlemania2D Offline
          doodlemania2D Offline
          doodlemania2
          App Dev
          wrote on last edited by
          #3

          @girish indeed, there are no timestamped app folders. Wondering if idrive is being weird? Here's the scrubbed config I'm using:
          a7392fee-1951-4009-b18f-e564e8032b76-image.png

          I had to delete the app I was messing with as it was in a bad state after attempting to restore to an earlier version and then backup not found. Assuming the Box backups are working (feels like they are given items in the snapshot folder), the data should be in there somewhere, but again, yes, nothing at the root of the bucket other than 'snapshots.'

          girishG 1 Reply Last reply
          0
          • doodlemania2D doodlemania2

            @girish indeed, there are no timestamped app folders. Wondering if idrive is being weird? Here's the scrubbed config I'm using:
            a7392fee-1951-4009-b18f-e564e8032b76-image.png

            I had to delete the app I was messing with as it was in a bad state after attempting to restore to an earlier version and then backup not found. Assuming the Box backups are working (feels like they are given items in the snapshot folder), the data should be in there somewhere, but again, yes, nothing at the root of the bucket other than 'snapshots.'

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by girish
            #4

            @doodlemania2 said in App Backups Not Happening?:

            Assuming the Box backups are working (feels like they are given items in the snapshot folder), the data should be in there somewhere, but again, yes, nothing at the root of the bucket other than 'snapshots.'

            Unfortunately, this means that backups are not working. There must be timestamped directories at the root of the bucket. Let me test idrive e2 and get back (we did add this in 7.4 already).

            doodlemania2D 2 Replies Last reply
            1
            • girishG girish

              @doodlemania2 said in App Backups Not Happening?:

              Assuming the Box backups are working (feels like they are given items in the snapshot folder), the data should be in there somewhere, but again, yes, nothing at the root of the bucket other than 'snapshots.'

              Unfortunately, this means that backups are not working. There must be timestamped directories at the root of the bucket. Let me test idrive e2 and get back (we did add this in 7.4 already).

              doodlemania2D Offline
              doodlemania2D Offline
              doodlemania2
              App Dev
              wrote on last edited by
              #5

              @girish better me than a customer! bummed about the data loss but i can rebuild it. Let me know if you need a test bed to poke on things.

              1 Reply Last reply
              2
              • girishG girish

                @doodlemania2 said in App Backups Not Happening?:

                Assuming the Box backups are working (feels like they are given items in the snapshot folder), the data should be in there somewhere, but again, yes, nothing at the root of the bucket other than 'snapshots.'

                Unfortunately, this means that backups are not working. There must be timestamped directories at the root of the bucket. Let me test idrive e2 and get back (we did add this in 7.4 already).

                doodlemania2D Offline
                doodlemania2D Offline
                doodlemania2
                App Dev
                wrote on last edited by
                #6

                @girish one thing to check though would be why it was (continues to) reporting success. Surely, it's throwing an error in there somewhere!

                girishG 1 Reply Last reply
                3
                • doodlemania2D doodlemania2

                  @girish one thing to check though would be why it was (continues to) reporting success. Surely, it's throwing an error in there somewhere!

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by girish
                  #7

                  @doodlemania2 that sounds like a bug which we fixed in 7.3. Are you on 7.3.6 ? Specifically https://git.cloudron.io/cloudron/box/-/commit/ea441d0b4b34830d24e1e7b7c32615d9ec93eefd

                  doodlemania2D 1 Reply Last reply
                  0
                  • girishG girish

                    @doodlemania2 that sounds like a bug which we fixed in 7.3. Are you on 7.3.6 ? Specifically https://git.cloudron.io/cloudron/box/-/commit/ea441d0b4b34830d24e1e7b7c32615d9ec93eefd

                    doodlemania2D Offline
                    doodlemania2D Offline
                    doodlemania2
                    App Dev
                    wrote on last edited by
                    #8

                    @girish 😞 was on 7.3.4 - updating now! Will confirm back.

                    doodlemania2D 1 Reply Last reply
                    0
                    • doodlemania2D doodlemania2

                      @girish 😞 was on 7.3.4 - updating now! Will confirm back.

                      doodlemania2D Offline
                      doodlemania2D Offline
                      doodlemania2
                      App Dev
                      wrote on last edited by
                      #9

                      @girish - got to 7.3.5 but stuck getting to 7.3.6 with:

                      "taskId": "12895",
                      "errorMessage": "Error listing objects in snapshot/app_19ee5686-c489-4855-b5b1-dcd62b3d287b.tar.gz.enc. Message: The specified key does not exist. HTTP Code: NoSuchKey",
                      "timedOut": false
                      }

                      girishG 1 Reply Last reply
                      0
                      • doodlemania2D doodlemania2

                        @girish - got to 7.3.5 but stuck getting to 7.3.6 with:

                        "taskId": "12895",
                        "errorMessage": "Error listing objects in snapshot/app_19ee5686-c489-4855-b5b1-dcd62b3d287b.tar.gz.enc. Message: The specified key does not exist. HTTP Code: NoSuchKey",
                        "timedOut": false
                        }

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #10

                        @doodlemania2 the bug was fixed in 7.3.5. Can you try a backup ? Does it fail in copy?

                        doodlemania2D 1 Reply Last reply
                        0
                        • girishG girish

                          @doodlemania2 the bug was fixed in 7.3.5. Can you try a backup ? Does it fail in copy?

                          doodlemania2D Offline
                          doodlemania2D Offline
                          doodlemania2
                          App Dev
                          wrote on last edited by doodlemania2
                          #11

                          @girish Okay, so, something else might be going on here. Refer back to my backup config pointing at cloudron-backup-dallas bucket. Snapshots are landing in there and look good.

                          Now, recently, I had migrated the server to a new host, and the original bucket was named cloudron-backup-migrate. I kept that bucket around just in case I needed to get an old copy back.

                          I ran several app updates this morning to test as requested. Guess where the app backups are landing?
                          63595f02-c82c-427d-bb0e-da9d393bf7bd-image.png

                          So, it seems there's an artifact somewhere still holding on to the old bucket? (am currently on 7.3.5)

                          girishG 1 Reply Last reply
                          1
                          • doodlemania2D doodlemania2

                            @girish Okay, so, something else might be going on here. Refer back to my backup config pointing at cloudron-backup-dallas bucket. Snapshots are landing in there and look good.

                            Now, recently, I had migrated the server to a new host, and the original bucket was named cloudron-backup-migrate. I kept that bucket around just in case I needed to get an old copy back.

                            I ran several app updates this morning to test as requested. Guess where the app backups are landing?
                            63595f02-c82c-427d-bb0e-da9d393bf7bd-image.png

                            So, it seems there's an artifact somewhere still holding on to the old bucket? (am currently on 7.3.5)

                            girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #12

                            @doodlemania2 In the Backup config, do you happen to have the bucket name in the endpoint by any chance ?

                            doodlemania2D 1 Reply Last reply
                            1
                            • girishG girish

                              @doodlemania2 In the Backup config, do you happen to have the bucket name in the endpoint by any chance ?

                              doodlemania2D Offline
                              doodlemania2D Offline
                              doodlemania2
                              App Dev
                              wrote on last edited by
                              #13

                              @girish shit... yep - removed the bucket name and all works fine now. good lord. sorry about that - quite a chase 😞

                              girishG 1 Reply Last reply
                              1
                              • doodlemania2D doodlemania2

                                @girish shit... yep - removed the bucket name and all works fine now. good lord. sorry about that - quite a chase 😞

                                girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #14

                                @doodlemania2 that's exactly what the change fixes! it won't let you save that invalid config anymore (i.e putting a bucket name in the endpoint)

                                1 Reply Last reply
                                3
                                • girishG girish marked this topic as a question on
                                • girishG girish has marked this topic as solved on
                                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