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. Backup "Schedule and Retention" not applied? (CIFS Mount)

Backup "Schedule and Retention" not applied? (CIFS Mount)

Scheduled Pinned Locked Moved Solved Support
backupscleanup-backups
12 Posts 4 Posters 1.7k 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.
  • jdaviescoatesJ jdaviescoates

    @p44 from the docs https://docs.cloudron.io/backups/#retention-policy :

    The following are some of the important rules used to determine if a backup should be retained:

    • For installed apps and box backups, the latest backup is always retained regardless of the policy. This ensures that even if all the backups are outside of the retention policy, there is still atleast one backup preserved. This change also ensure that the latest backup of stopped apps is preserved when not referenced by any box backup.

    • 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.

    • For uninstalled apps, the latest backup is removed as per the policy.

    • If the latest backup is already part of the policy, it is not counted twice.

    • Errored and partial backups are removed immediately.

    P Offline
    P Offline
    p44
    translator
    wrote on last edited by
    #3

    @jdaviescoates Thank's for remembering Cloudron retention policy but I think something is not working.

    This is now, FTP folders VS Cloudron info's:

    Schermata 2021-11-16 alle 11.15.16.png

    Schermata 2021-11-16 alle 11.15.19.png

    M 1 Reply Last reply
    0
    • P p44

      @jdaviescoates Thank's for remembering Cloudron retention policy but I think something is not working.

      This is now, FTP folders VS Cloudron info's:

      Schermata 2021-11-16 alle 11.15.16.png

      Schermata 2021-11-16 alle 11.15.19.png

      M Offline
      M Offline
      msbt
      App Dev
      wrote on last edited by msbt
      #4

      @p44 cwd into the folders and check if all of them are complete backups, there are probably app backups from updates in those folders, they aren't listed in the backups view, only when you open each apps settings.

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

        To extend what @msbt said, if you see only a single app_xx named file inside, it's only an app backup and not a full backup. A full backup will contain all your apps and in addition two files named box_yy and mail_zz.

        1 Reply Last reply
        1
        • M msbt

          @p44 cwd into the folders and check if all of them are complete backups, there are probably app backups from updates in those folders, they aren't listed in the backups view, only when you open each apps settings.

          P Offline
          P Offline
          p44
          translator
          wrote on last edited by
          #6

          @msbt @girish I checked inside each folders and they have only one "mail" backup, not the app backup.

          Does this mean that the backup was not successful, although it did not have any errors?

          Schermata 2021-11-16 alle 20.46.46.png Schermata 2021-11-16 alle 20.46.40.png Schermata 2021-11-16 alle 20.46.34.png

          girishG 1 Reply Last reply
          1
          • P p44

            @msbt @girish I checked inside each folders and they have only one "mail" backup, not the app backup.

            Does this mean that the backup was not successful, although it did not have any errors?

            Schermata 2021-11-16 alle 20.46.46.png Schermata 2021-11-16 alle 20.46.40.png Schermata 2021-11-16 alle 20.46.34.png

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

            @p44 This seems similar to the bug reported by @d19dotca in https://forum.cloudron.io/topic/5936/questions-on-ovh-object-storage-with-segments-openstack-bucket-container . Looks like maybe mail backups are not getting cleaned up properly for some reason. Let me investigate.

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

              There was indeed a bug cleaning up mail backups. This is fixed in coming release. Should be out tomorrow.

              P 1 Reply Last reply
              4
              • girishG girish

                There was indeed a bug cleaning up mail backups. This is fixed in coming release. Should be out tomorrow.

                P Offline
                P Offline
                p44
                translator
                wrote on last edited by
                #9

                @girish Thank's a lot Girish, but it seems that the folders contain only mail backups and not app backups, even if system considered "done" – but not showed – backup.

                P 1 Reply Last reply
                0
                • P p44

                  @girish Thank's a lot Girish, but it seems that the folders contain only mail backups and not app backups, even if system considered "done" – but not showed – backup.

                  P Offline
                  P Offline
                  p44
                  translator
                  wrote on last edited by p44
                  #10

                  @girish There is something not working with backup system. Old backups they are not deleted and disc fills up.

                  Schermata 2021-11-20 alle 12.58.14.png

                  Listed backups on FTP now:

                  Schermata 2021-11-20 alle 13.00.31.png

                  Listed backups on Cloudron:

                  Schermata 2021-11-20 alle 13.01.12.png

                  I hope this is sufficient enough to initiate a more detailed investigation.

                  Edit: Some folders contains only mail folders and not all app files, even if backup is considered as DONE

                  Edit2: I think problem is solved with latest version 7.0.4

                  girishG 1 Reply Last reply
                  1
                  • P p44

                    @girish There is something not working with backup system. Old backups they are not deleted and disc fills up.

                    Schermata 2021-11-20 alle 12.58.14.png

                    Listed backups on FTP now:

                    Schermata 2021-11-20 alle 13.00.31.png

                    Listed backups on Cloudron:

                    Schermata 2021-11-20 alle 13.01.12.png

                    I hope this is sufficient enough to initiate a more detailed investigation.

                    Edit: Some folders contains only mail folders and not all app files, even if backup is considered as DONE

                    Edit2: I think problem is solved with latest version 7.0.4

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

                    @p44 yes correct, this is what I fixed in 7.0.4

                    P 1 Reply Last reply
                    2
                    • girishG girish

                      @p44 yes correct, this is what I fixed in 7.0.4

                      P Offline
                      P Offline
                      p44
                      translator
                      wrote on last edited by
                      #12

                      @girish Thank's a lot 👏👏

                      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