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. Backups before retention policy not being deleted. Bug?

Backups before retention policy not being deleted. Bug?

Scheduled Pinned Locked Moved Solved Support
backupscleanup-backups
12 Posts 5 Posters 1.5k 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.
  • S Offline
    S Offline
    shrey
    wrote on last edited by girish
    #1

    My backups are configured with DigitalOcean Spaces.
    The Retention Policy being 3 months.

    But, even though, the backup section in my Cloudron app shows backups only for the last 3 months, the DO Spaces bucket still has all the backups from the date since i set up the system, which was last year.

    1. Is it by design or a bug?
    2. Is there any existing method in Cloudron to delete the obsolete backups from the DO Spaces bucket?
    1 Reply Last reply
    1
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @shrey Missed this post, did you get this sorted out?

      S 1 Reply Last reply
      0
      • girishG girish

        @shrey Missed this post, did you get this sorted out?

        S Offline
        S Offline
        shrey
        wrote on last edited by
        #3

        @girish The issue remains. Cloudron does not delete older backups from the S3 storage.

        For now, i've manually deleted them.

        girishG 1 Reply Last reply
        1
        • S shrey

          @girish The issue remains. Cloudron does not delete older backups from the S3 storage.

          For now, i've manually deleted them.

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

          @shrey if it starts retaining obsolete backups again, can you please write to support@cloudron.io ? I can't reproduce this in any of our instances.

          S 1 Reply Last reply
          0
          • girishG girish

            @shrey if it starts retaining obsolete backups again, can you please write to support@cloudron.io ? I can't reproduce this in any of our instances.

            S Offline
            S Offline
            shrey
            wrote on last edited by
            #5

            @girish That never stopped. I just deleted upto a certain date, the 'obsolete' backups after that date are still persisting.
            Will send the details in the email as well.

            1 Reply Last reply
            0
            • svtxS Offline
              svtxS Offline
              svtx
              wrote on last edited by
              #6

              I have the same issue. One backup that was done using .tar is not deleting now (5 day overdue on deletion) that I'm using rsync. I've tried reverting settings to but to no avail. The backup in question seems to be MASSIVE too, something's odd about this. Truth be told, I'd appreciate a simple "Delete Backup" option 😉

              1 Reply Last reply
              4
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                @svtx yes, we are looking into these improvements in 7.6

                When investigating @shrey 's situation a bit, we found that stale/partial backups are not cleaned up properly. Will get this fixed in 7.6 as well.

                1 Reply Last reply
                2
                • S Offline
                  S Offline
                  stormgrass
                  wrote on last edited by
                  #8

                  I've been having the same issue with S3, switched to DO Spaces now because it's easier to monitor. I had terabytes of data in my S3 bucket and only noticed it once I got my bill. With DO Spaces it's now the same issue, there's still backups from three days in there despite a 2 day retention policy.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    shrey
                    wrote on last edited by
                    #9

                    Hi @girish
                    By when can we expect a (stable) solution for this?

                    1 Reply Last reply
                    0
                    • rosanoR rosano referenced this topic on
                    • S Offline
                      S Offline
                      shrey
                      wrote on last edited by
                      #10

                      Hi @girish , pinging you again.

                      It's been more than 1.5 years. The issue is still ongoing.

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

                        @shrey we can't reproduce the problem. So, I think you have to write to us at support@cloudron.io and we have to debug what is happening .

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

                          We finally got down to this issue. Problem was that particular instance had a lot of backups in the db and we only took the first 1k backups into account for purging. Fix is coming with next release. If you hit this issue, send us a mail to support@cloudron.io so we can apply a temporary fix.

                          1 Reply Last reply
                          4
                          • nebulonN nebulon 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