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 size growing

Backup size growing

Scheduled Pinned Locked Moved Solved Support
backblazebackup
25 Posts 6 Posters 4.2k Views 8 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.
  • christiaanC christiaan

    Actually I'm not sure that was a permanent fix. It appears to be storing an additional copy each time there's an upgrade.

    Screenshot 2021-07-17 at 13.46.18.png

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

    @christiaan I think it's normal for those to be retained

    I use Cloudron with Gandi & Hetzner

    christiaanC 1 Reply Last reply
    1
    • jdaviescoatesJ jdaviescoates

      @christiaan I think it's normal for those to be retained

      christiaanC Offline
      christiaanC Offline
      christiaan
      wrote on last edited by
      #14

      @jdaviescoates how do I remove them safely? Can I manually delete any of these folders without corrupting the backup?

      Screenshot 2021-07-19 at 11.21.50.png

      jdaviescoatesJ girishG 2 Replies Last reply
      0
      • christiaanC christiaan

        @jdaviescoates how do I remove them safely? Can I manually delete any of these folders without corrupting the backup?

        Screenshot 2021-07-19 at 11.21.50.png

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

        @christiaan I'm not sure, but I think you could probably delete all of them apart from the two at the bottom (the most up to date backup and the snapshots) but I wouldn't proceed without getting further clarity from @Staff 🙂

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        1
        • christiaanC christiaan

          @jdaviescoates how do I remove them safely? Can I manually delete any of these folders without corrupting the backup?

          Screenshot 2021-07-19 at 11.21.50.png

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

          @christiaan yes, you can safely delete any single timestamped directory safely. The snapshot directory should be left alone. If you click inside a timestamped directory and only find a single app_xx file, it means that backup was created as part of an app upgrade or backup. If you find many app_ files and a box_ file inside it, it was created as part of a Cloudron upgrade or backup.

          christiaanC 1 Reply Last reply
          2
          • girishG girish

            @christiaan yes, you can safely delete any single timestamped directory safely. The snapshot directory should be left alone. If you click inside a timestamped directory and only find a single app_xx file, it means that backup was created as part of an app upgrade or backup. If you find many app_ files and a box_ file inside it, it was created as part of a Cloudron upgrade or backup.

            christiaanC Offline
            christiaanC Offline
            christiaan
            wrote on last edited by
            #17

            @girish Great, thanks. Would it be possible for you to automate this in Cloudron (i.e. deleting old versions)?

            jdaviescoatesJ 1 Reply Last reply
            0
            • christiaanC christiaan

              @girish Great, thanks. Would it be possible for you to automate this in Cloudron (i.e. deleting old versions)?

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

              @christiaan they would've been deleted eventually. I think maybe after 3 weeks.

              But yeah, would be nice for the to be a UI where they could be deleted too. I think that there might even be another post about that

              I use Cloudron with Gandi & Hetzner

              girishG christiaanC 2 Replies Last reply
              2
              • jdaviescoatesJ jdaviescoates

                @christiaan they would've been deleted eventually. I think maybe after 3 weeks.

                But yeah, would be nice for the to be a UI where they could be deleted too. I think that there might even be another post about that

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

                @jdaviescoates I am always wary about adding that feature because a compromised cloudron would then mean that backups can also be deleted. In many backup providers, you can create storage credentials with permissions so that objects cannot be deleted. Then again maybe just like auto-deletion, we can have a button to delete which may or may not work...

                christiaanC 1 Reply Last reply
                2
                • jdaviescoatesJ jdaviescoates

                  @christiaan they would've been deleted eventually. I think maybe after 3 weeks.

                  But yeah, would be nice for the to be a UI where they could be deleted too. I think that there might even be another post about that

                  christiaanC Offline
                  christiaanC Offline
                  christiaan
                  wrote on last edited by
                  #20

                  @jdaviescoates said in Backup size growing:

                  @christiaan they would've been deleted eventually. I think maybe after 3 weeks.

                  Oh right. There was one there that was a month old. Is there anywhere in Cloudron documentation that explains this?

                  girishG 1 Reply Last reply
                  0
                  • christiaanC christiaan

                    @jdaviescoates said in Backup size growing:

                    @christiaan they would've been deleted eventually. I think maybe after 3 weeks.

                    Oh right. There was one there that was a month old. Is there anywhere in Cloudron documentation that explains this?

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

                    @christiaan some info here - https://docs.cloudron.io/backups/#retention-policy

                    christiaanC 1 Reply Last reply
                    0
                    • girishG girish

                      @jdaviescoates I am always wary about adding that feature because a compromised cloudron would then mean that backups can also be deleted. In many backup providers, you can create storage credentials with permissions so that objects cannot be deleted. Then again maybe just like auto-deletion, we can have a button to delete which may or may not work...

                      christiaanC Offline
                      christiaanC Offline
                      christiaan
                      wrote on last edited by
                      #22

                      @girish said in Backup size growing:

                      @jdaviescoates I am always wary about adding that feature because a compromised cloudron would then mean that backups can also be deleted. In many backup providers, you can create storage credentials with permissions so that objects cannot be deleted. Then again maybe just like auto-deletion, we can have a button to delete which may or may not work...

                      Why are they not simply deleted based on the retention policy? Is this for wiggle room if an upgrade goes wrong?

                      My retention policy is 2 days, for instance, but one of these old version backups was a month old.

                      1 Reply Last reply
                      0
                      • girishG girish

                        @christiaan some info here - https://docs.cloudron.io/backups/#retention-policy

                        christiaanC Offline
                        christiaanC Offline
                        christiaan
                        wrote on last edited by
                        #23

                        @girish said in Backup size growing:

                        @christiaan some info here - https://docs.cloudron.io/backups/#retention-policy

                        Thanks girish. This doesn't seem to cover the issue I am seeing though, which is that backups of old versions are not being deleted as per my retention policy.

                        girishG 1 Reply Last reply
                        0
                        • christiaanC christiaan

                          @girish said in Backup size growing:

                          @christiaan some info here - https://docs.cloudron.io/backups/#retention-policy

                          Thanks girish. This doesn't seem to cover the issue I am seeing though, which is that backups of old versions are not being deleted as per my retention policy.

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

                          @christiaan Correct me if I am wrong but i think the older ones are retained because of the previous b2 life cycle setting. Cloudron tries to cleanup backups only once. It won't go back and try to delete those old backups. As in, it won't delete files it thinks are already gone. Can you check if recent backups are indeed getting deleted? i.e the ones after you made the lifecycle setting change.

                          christiaanC 1 Reply Last reply
                          2
                          • girishG girish

                            @christiaan Correct me if I am wrong but i think the older ones are retained because of the previous b2 life cycle setting. Cloudron tries to cleanup backups only once. It won't go back and try to delete those old backups. As in, it won't delete files it thinks are already gone. Can you check if recent backups are indeed getting deleted? i.e the ones after you made the lifecycle setting change.

                            christiaanC Offline
                            christiaanC Offline
                            christiaan
                            wrote on last edited by
                            #25

                            @girish ah yes, that makes sense. And recent ones are being deleted, yes. Thanks again.

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