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. How to interpret the retention policy?

How to interpret the retention policy?

Scheduled Pinned Locked Moved Support
backupsretention
5 Posts 4 Posters 688 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.
    • nottheendN Offline
      nottheendN Offline
      nottheend
      wrote on last edited by girish
      #1

      My backup interval is daily 3 am and for Retention Policy it is

      3 daily, 4 weekly, 6 monthly
      

      I thought it means I will effectively have backups of the last 3 days, older than 3 days there are only backups 1 per week (up to 4 weeks) and older than 4 weeks there is only 1 per month.

      Is that wrong?

      Because I see more like 4/5 days daily, and there is 30th June, 1st and 2nd July in a row although more than 3 days ago.

      Today (= 15/07/2023)
      Yesterday (=14/07/2023)
      13/07/2023
      12/07/2023
      11/07/2023
      09/07/2023
      02/07/2023
      01/07/2023
      30/06/2023
      25/06/2023
      31/05/2023

      Urgency and importance of this question is low for me, but curious.

      girishG 1 Reply Last reply
      1
      • W Offline
        W Offline
        warg
        wrote on last edited by
        #2

        I face the same issue: Some of the options is not clear to me from the wording. It would be better if you could just pass the values as keyboard input as like as you wish. I think the option I look for doesn't exist in the predefined options.

        girishG 1 Reply Last reply
        0
        • nottheendN nottheend

          My backup interval is daily 3 am and for Retention Policy it is

          3 daily, 4 weekly, 6 monthly
          

          I thought it means I will effectively have backups of the last 3 days, older than 3 days there are only backups 1 per week (up to 4 weeks) and older than 4 weeks there is only 1 per month.

          Is that wrong?

          Because I see more like 4/5 days daily, and there is 30th June, 1st and 2nd July in a row although more than 3 days ago.

          Today (= 15/07/2023)
          Yesterday (=14/07/2023)
          13/07/2023
          12/07/2023
          11/07/2023
          09/07/2023
          02/07/2023
          01/07/2023
          30/06/2023
          25/06/2023
          31/05/2023

          Urgency and importance of this question is low for me, but curious.

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

          @nottheend said in How to interpret the retention policy?:

          I thought it means I will effectively have backups of the last 3 days, older than 3 days there are only backups 1 per week (up to 4 weeks) and older than 4 weeks there is only 1 per month.

          This is what it means. There's some additional rules to go with the retention policy with regards to stopped apps and app updates. Please see https://docs.cloudron.io/backups/#retention-policy . If you go into each directory, can you check if those are "full backups" (has all the apps and box and mail) or just a single app backup . If it's the latter, it's because of an app update most likely.

          1 Reply Last reply
          2
          • W warg

            I face the same issue: Some of the options is not clear to me from the wording. It would be better if you could just pass the values as keyboard input as like as you wish. I think the option I look for doesn't exist in the predefined options.

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

            @warg The API is very flexible. The options in the UI are hardcoded for simplicity - https://git.cloudron.io/cloudron/box/-/blob/master/dashboard/src/views/backups.js#L38 . What more standard options would you like to see ?

            1 Reply Last reply
            1
            • C Offline
              C Offline
              crazybrad
              wrote on last edited by
              #5

              @girish I am just finding this thread. I would suggest adding these options:
              { name: '7 daily, 4 weekly, 3 monthly', value: { keepDaily: 7, keepWeekly: 4, keepMonthly: 3 }},
              { name: '7 daily, 4 weekly, 6 monthly', value: { keepDaily: 7, keepWeekly: 4, keepMonthly: 6 }},

              The first option is a common backup cycle (I think) and the second option allows for 3 more months of retention (and is halfway between the first and the current 12 month option).

              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