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. Old backups persist despite retention policy?

Old backups persist despite retention policy?

Scheduled Pinned Locked Moved Solved Support
backups
7 Posts 3 Posters 1.2k Views 3 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.
    • T Offline
      T Offline
      tomw
      wrote on last edited by
      #1

      I'm running out of space on my backup volume, and noticed that some apps are listing several old backups, even though my retention policy is set to 2 days. Here's an example:

      Screenshot_2021-04-12 Apps.png

      And the retention policy:

      backup sched.png

      Am I missing something? Shouldn't there be just two backups for each app?

      d19dotcaD 1 Reply Last reply
      0
      • T tomw

        I'm running out of space on my backup volume, and noticed that some apps are listing several old backups, even though my retention policy is set to 2 days. Here's an example:

        Screenshot_2021-04-12 Apps.png

        And the retention policy:

        backup sched.png

        Am I missing something? Shouldn't there be just two backups for each app?

        d19dotcaD Offline
        d19dotcaD Offline
        d19dotca
        wrote on last edited by
        #2

        @tomw There are exceptions for the package version changes. The package version changes persist for 3 weeks I believe, so those will probably drop off pretty quick the ones that already say "3 weeks ago", I bet those will be gone by the end of this week.

        You'll want to read the documentation on the Retention Policy feature because it lists a few examples of exceptions: https://docs.cloudron.io/backups/#retention-policy

        This is the point that affects you in this case:

        • An App backup that was created right before an app updates is also marked as special and persisted for 3 weeks. The rationale is that sometimes while the app itself is working fine, some errors/bugs only get noticed after a couple of weeks.

        --
        Dustin Dauncey
        www.d19.ca

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

          If you don't care about the old backups, you can just delete it manually from your backup storage directly. You can find the filename by clicking the copy link (on the left of the backup).

          1 Reply Last reply
          2
          • T Offline
            T Offline
            tomw
            wrote on last edited by
            #4

            Thanks for the pointers, once again I realise I should really read the docs properly before posting! 😌

            d19dotcaD 1 Reply Last reply
            1
            • T tomw

              Thanks for the pointers, once again I realise I should really read the docs properly before posting! 😌

              d19dotcaD Offline
              d19dotcaD Offline
              d19dotca
              wrote on last edited by
              #5

              @tomw haha, no worries.

              To be fair to you, I don't find the retention settings intuitive at all. Unless one reads the docs, they'd never know the ones outside the retention policy are designated exceptions (there's no visible marker next to them that explains it for example), and maybe it's just me but the actual definition of each retention policy is super unintuitive to me - I'd expect for example that when it's set to a value of "7 daily" that it'd mean every backup for 7 days, not just one backup only for each of the 7 days (but maybe this last one is just me reading it weirdly 😛 ).

              Maybe we need to file a feature request to improve some of these things especially for newcomers to the product.

              --
              Dustin Dauncey
              www.d19.ca

              girishG 1 Reply Last reply
              1
              • d19dotcaD d19dotca

                @tomw haha, no worries.

                To be fair to you, I don't find the retention settings intuitive at all. Unless one reads the docs, they'd never know the ones outside the retention policy are designated exceptions (there's no visible marker next to them that explains it for example), and maybe it's just me but the actual definition of each retention policy is super unintuitive to me - I'd expect for example that when it's set to a value of "7 daily" that it'd mean every backup for 7 days, not just one backup only for each of the 7 days (but maybe this last one is just me reading it weirdly 😛 ).

                Maybe we need to file a feature request to improve some of these things especially for newcomers to the product.

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

                @d19dotca said in Old backups persist despite retention policy?:

                Maybe we need to file a feature request to improve some of these things especially for newcomers to the product.

                If it helps, maybe we can add some information text of sorts as to why the backup is retained (or if someone has better ideas). Only thing I am opposed to is to add a button to delete backups 🙂

                d19dotcaD 1 Reply Last reply
                0
                • girishG girish

                  @d19dotca said in Old backups persist despite retention policy?:

                  Maybe we need to file a feature request to improve some of these things especially for newcomers to the product.

                  If it helps, maybe we can add some information text of sorts as to why the backup is retained (or if someone has better ideas). Only thing I am opposed to is to add a button to delete backups 🙂

                  d19dotcaD Offline
                  d19dotcaD Offline
                  d19dotca
                  wrote on last edited by d19dotca
                  #7

                  @girish haha, yeah that's fair. Deleting backups is probably one of those tasks that should intentionally be difficult to do to avoid any issues (i.e. they need to delete the backups manually).

                  Only thing I can suggest maybe is a little icon designation either beside each of the backups that is past the retention policy (or part of a version upgrade backup) that explains it quickly and links to the docs or something, or maybe just one overall info button in the corner of the backups page or something. Not sure which is most feasible. I'll file a feature request formally for that though in a moment.


                  EDIT: I filed the feature request here: https://forum.cloudron.io/topic/4890/improve-the-backup-page-specifically-retention-related-items-to-explain-retention-policies-and-why-some-backups-exist-beyond-them

                  --
                  Dustin Dauncey
                  www.d19.ca

                  1 Reply Last reply
                  1
                  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