Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unsolved Inconsistent Backup Retention

    Support
    2
    4
    111
    Loading More Posts
    • 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.
    • robi
      robi last edited by robi

      A client recently changed from local to CIFS based backups to a local NAS.

      Since the changes of the backup from local to local (both in a VPS and from/to NVMe targets) to an external NAS Windows share on it (several weeks ago), the backup retention policy isn't followed anymore.

      After this was detected, the retention policy was manually changed/reset, hoping that this would fix the problem - but it didn't.

      The result is that no backups older than few days (see screenshot below) are kept, and overall they are way too few compared to the retention policy settings:

      cl-image.png

      In the above screenshot, after the "just now" backup was completed, the 4th day backup disappeared from the list. (UI issue?)

      The backup policy is set to hourly, minus the 4am maintenance time window for possible app updates, and these backups are successfully done each hour as intended - though old ones get constantly removed from the list (and disk) despite the above retention settings. This has not been an issue before when the backup was done without compression to a local disk.

      Space on the target NAS is not an issue, as there are 4TB free besides the existing backup of about 860GB, (about 5mins backup time).

      Update 1:
      This is the NAS backup directory with its content and directory sizes, and it seems to neither match the intended retention settings nor the listed backups:
      cl-image.png

      Update 2:
      8h later the backup list looks like this:
      cl-image.png
      🤣

      Life of Advanced Technology

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        I just looked into the dashboard code and turns out that due to missing pagination UI, we just show the last 20 backups there. So most likely the backups are still there on storage and only the UI does not show them?

        robi 1 Reply Last reply Reply Quote 1
        • Topic has been marked as a question  nebulon nebulon 
        • robi
          robi @nebulon last edited by

          @nebulon While the UI issue is obvious, there are missing hours in the list and missing days on disk.

          Life of Advanced Technology

          1 Reply Last reply Reply Quote 1
          • robi
            robi last edited by

            Updated first post with more data.

            Life of Advanced Technology

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB