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. Delete older, manual backups

Delete older, manual backups

Scheduled Pinned Locked Moved Solved Support
backupscleanup-backups
8 Posts 4 Posters 752 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.
  • E Offline
    E Offline
    ekevu123
    wrote on last edited by girish
    #1

    I have an app that I do not include into automatic backups, because it is too big and causes the daily server backup to fail regularly. So, I usually update it whenever there is an update to the app manually.
    However, how do I delete older backups for this application? They don't adhere to the backup rules I set globally, so "Cleanup Backups" doesn't work. I cannot delete these in the app settings either. I even tried to manually include these into the auomated backup because I assumed "Cleanup Backups" would work only then for this app, but this didn't work either.

    How can I remove these unused backups as they take a lot of paid space with the backup provider?

    1 Reply Last reply
    1
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

      Have you tried to temporarily add it back to backups and run a cleanup before an actual backup runs?

      Conscious tech

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

        If automatic backups are disabled, how were the older backups created? It could be that Cloudron has lost track of those backups for some reason. You can just delete them directly in the remote storage.

        In the backup cleaner logs, Backups -> Clean Backups -> Logs, it will tell you why those backups are kept . There should be some log message like "keepReason".

        edit: don't mind me, title says backups were made manually

        1 Reply Last reply
        0
        • robiR robi

          Have you tried to temporarily add it back to backups and run a cleanup before an actual backup runs?

          E Offline
          E Offline
          ekevu123
          wrote on last edited by
          #4

          @robi said in Delete older, manual backups:

          Have you tried to temporarily add it back to backups and run a cleanup before an actual backup runs?

          Yes, I have.

          @girish If I delete the backups in the remote storage, will this delete the list entry in the app settings as well? Or just the actual backup?

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

            @ekevu123 yes, the backup cleaner has code to detect that remote backup files disappeared and will remove it from the internal database.

            1 Reply Last reply
            0
            • girishG girish marked this topic as a question on
            • girishG girish has marked this topic as solved on
            • E Offline
              E Offline
              ekevu123
              wrote on last edited by
              #6

              I investigated this a little further and can see that none of my apps fully adheres to the backup schedule I set, which is 2 daily, 4 weekly (I run the automated backup once per day plus additional backups that I might manually initiate when I run an update, for example).

              Here is an overview over some apps:
              App1: has daily backups since 1st December (when I installed it first) without any interruption)
              App2: has 24th, 25th, 26th November, then 1st, 2nd Dec, then everything since 8th Dec
              App3: same as 2, but without the 26th November
              App4: 22nd, 24th, 25th, 26th, 29th Nov., 1st, 2nd, 4th, and everything since 7th Dec.
              etc.

              I believe that means that none of my apps adheres to the schedule? I guess instead of going through every single app to delete backups manually, I would probably create a new object storage bucket for backup and delete the other one. But that also means I would probably need to do that once per month or so as the problem seems to be quite big.

              I have another, smaller cloudron instance where I have the schedule "1 week" and I went through all apps there to check. Out of 6 apps running there, I could identify 3 backups that where older than 1 week, so I assume the problem happens there as well, but to a lesser extent.

              jdaviescoatesJ 1 Reply Last reply
              0
              • E ekevu123

                I investigated this a little further and can see that none of my apps fully adheres to the backup schedule I set, which is 2 daily, 4 weekly (I run the automated backup once per day plus additional backups that I might manually initiate when I run an update, for example).

                Here is an overview over some apps:
                App1: has daily backups since 1st December (when I installed it first) without any interruption)
                App2: has 24th, 25th, 26th November, then 1st, 2nd Dec, then everything since 8th Dec
                App3: same as 2, but without the 26th November
                App4: 22nd, 24th, 25th, 26th, 29th Nov., 1st, 2nd, 4th, and everything since 7th Dec.
                etc.

                I believe that means that none of my apps adheres to the schedule? I guess instead of going through every single app to delete backups manually, I would probably create a new object storage bucket for backup and delete the other one. But that also means I would probably need to do that once per month or so as the problem seems to be quite big.

                I have another, smaller cloudron instance where I have the schedule "1 week" and I went through all apps there to check. Out of 6 apps running there, I could identify 3 backups that where older than 1 week, so I assume the problem happens there as well, but to a lesser extent.

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #7

                @ekevu123 said in Delete older, manual backups:

                I could identify 3 backups that where older than 1 week

                As per https://docs.cloudron.io/backups/#retention-policy :

                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.

                That could explain it.

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply
                0
                • E Offline
                  E Offline
                  ekevu123
                  wrote on last edited by
                  #8

                  Right, yes, that would make sense!

                  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