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. Cloudron 9.0.5 doesn't show backups from version 8?

Cloudron 9.0.5 doesn't show backups from version 8?

Scheduled Pinned Locked Moved Unsolved Support
backups
18 Posts 5 Posters 262 Views 5 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.
  • nebulonN Away
    nebulonN Away
    nebulon
    Staff
    wrote last edited by
    #4

    Then at least there are no dangling ones in the database, so the migration script was working for a start.

    What is the retention setting you have on that backup site?

    1 Reply Last reply
    1
    • E Offline
      E Offline
      ekevu123
      wrote last edited by
      #5

      One week, so some of the backups should be covered still.

      1 Reply Last reply
      1
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote last edited by
        #6

        Alright and have checked the eventlog, yet? If you filter by backup.cleanup events you should see which one triggered the cleanup, it will show in the eventlog entry details. If that is the case at least we know it came from there and not some migration issue.

        Ideally then the logs for that run are still available to further get down to the issue.

        1 Reply Last reply
        0
        • E Offline
          E Offline
          ekevu123
          wrote last edited by
          #7

          What exactly am I looking for in the logs? They are too long to read them all, obviously. I didn't find anything searching for "backup.cleanup", and searching for either "backup" or "cleanup" doesn't seem to yield any suitable information.

          1 Reply Last reply
          0
          • nebulonN Away
            nebulonN Away
            nebulon
            Staff
            wrote last edited by
            #8

            so there is the system -> eventlog view which has those backup.cleanup events which would also show if and what it cleaned up. There is also a log button in that view for the event, which should then have more info on why it cleaned up those backups. Once we have that we can check if there is a bug or not.

            1 Reply Last reply
            1
            • E Offline
              E Offline
              ekevu123
              wrote last edited by
              #9

              There is no entry when I search for that event. However, I have just ran the backup cleaner manually, and then went to the logs and tried to find the event. It appears as the first line, but I can't find it with any of these terms:
              "Backup cleaner"
              "backup.cleaner"
              "backupcleaner" (although this one appears in the logs inside)
              So, I wonder if the search works properly.

              By manually going through the event logs, I can find the backup cleaner running regularly, but it never removed anything (except for one app I uninstalled, but that's unrelated).

              Also, the backups seem to exist still in storage, but they aren't recognised by Cloudron. New backups are being created and recognised on schedule.

              I also downloaded the task-specific logs for that upgrade.

              1 Reply Last reply
              1
              • svtxS Offline
                svtxS Offline
                svtx
                wrote last edited by svtx
                #10

                If one is to actually look into one's S3 storage one will find a LOT of orphaned backup files that Cloudron allegedly doesn't have anymore. The backup system is DEFUNCT on ALL my installations. So much so, I've simply disabled it.

                E jdaviescoatesJ 2 Replies Last reply
                2
                • svtxS svtx

                  If one is to actually look into one's S3 storage one will find a LOT of orphaned backup files that Cloudron allegedly doesn't have anymore. The backup system is DEFUNCT on ALL my installations. So much so, I've simply disabled it.

                  E Offline
                  E Offline
                  ekevu123
                  wrote last edited by
                  #11

                  @svtx I wouldn't say that, I have successfully restored a couple of times and that went smoothly.

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

                    @ekevu123 there was a bug in 9.0.4 that if you had multiple backup sites, it was cleaning up old backups incorrectly. I have fixed this in 9.0.5 . But if your server probably ever had 9.0.4 and multiple backup sites, it would have hit this bug (i.e removing valid backups from the database.. they are not removed from the storage itself though). Is this is the case with yours?

                    E 1 Reply Last reply
                    1
                    • svtxS svtx

                      If one is to actually look into one's S3 storage one will find a LOT of orphaned backup files that Cloudron allegedly doesn't have anymore. The backup system is DEFUNCT on ALL my installations. So much so, I've simply disabled it.

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote last edited by
                      #13

                      @svtx said in Cloudron 9.0.5 doesn't show backups from version 8?:

                      The backup system is DEFUNCT on ALL my installations.

                      TBH this sounds like a problem with your systems, not Cloudron. I've been using Cloudron for years, in part because the backups Just Work. I've used them to migrate my whole server and all the apps a number of times with zero issues. I have also restored backups of apps lots of times too. Again, it's always just worked seamlessly. The backup system is definitely not defunct in general.

                      I use Cloudron with Gandi & Hetzner

                      svtxS 1 Reply Last reply
                      1
                      • girishG girish

                        @ekevu123 there was a bug in 9.0.4 that if you had multiple backup sites, it was cleaning up old backups incorrectly. I have fixed this in 9.0.5 . But if your server probably ever had 9.0.4 and multiple backup sites, it would have hit this bug (i.e removing valid backups from the database.. they are not removed from the storage itself though). Is this is the case with yours?

                        E Offline
                        E Offline
                        ekevu123
                        wrote last edited by
                        #14

                        @girish No, I upgraded directly to 9.0.5 from the 8-series and never set up multiple backup sites.

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

                          @ekevu123 oh, that's not good then. Can you please contact me on support@cloudron.io , I will have to read the log files to figure what is going on.

                          1 Reply Last reply
                          1
                          • jdaviescoatesJ jdaviescoates

                            @svtx said in Cloudron 9.0.5 doesn't show backups from version 8?:

                            The backup system is DEFUNCT on ALL my installations.

                            TBH this sounds like a problem with your systems, not Cloudron. I've been using Cloudron for years, in part because the backups Just Work. I've used them to migrate my whole server and all the apps a number of times with zero issues. I have also restored backups of apps lots of times too. Again, it's always just worked seamlessly. The backup system is definitely not defunct in general.

                            svtxS Offline
                            svtxS Offline
                            svtx
                            wrote last edited by
                            #16

                            @jdaviescoates If by "my systems" you mean the Hetzner Cloud and S3 Buckets then yeah, sure.

                            jdaviescoatesJ 1 Reply Last reply
                            0
                            • svtxS svtx

                              @jdaviescoates If by "my systems" you mean the Hetzner Cloud and S3 Buckets then yeah, sure.

                              jdaviescoatesJ Offline
                              jdaviescoatesJ Offline
                              jdaviescoates
                              wrote last edited by jdaviescoates
                              #17

                              @svtx I mean perhaps you've got some non standard configuration, or maybe other stuff on the same server, that sort of thing.

                              But if you mean Hetzner S3 buckets they are very new so I guess it could be that. 🤷

                              TBH I've only ever used Scaleway S3 buckets and only for PeerTube, Mastodon and Pixelfed data, not backups. I've always just used Hetzner Storage Boxes for backups.

                              But whatever your setup, the main point is that for the vast majority of us Cloudron backups are not defunct, they work brilliantly.

                              I use Cloudron with Gandi & Hetzner

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

                                @svtx do you have a post/more info on this already? Would like to understand what the problem is.

                                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