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. Easy way to "reset" backups...

Easy way to "reset" backups...

Scheduled Pinned Locked Moved Solved Support
backupsbackblaze
10 Posts 5 Posters 1.6k Views 5 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.
  • ericdrgnE Offline
    ericdrgnE Offline
    ericdrgn
    wrote on last edited by girish
    #1

    So I don't know what is going on but I have my backups set to Backblaze via rsync. And apparently I haven't really been paying attention but something really weird is going on so I just want to start fresh and see if it happens again. Currently I should have between 100-200gb backing up and the retention policy is supposed to cleanup every 2 days. Backblaze is saying I have around 4tb in the bucket.

    So how do I clean out all backups and snapshots properly and just start fresh? Obviously I am just going to wipe everything out from Backblaze as a whole but how do I make Cloudron recognize that and start fresh?

    ericdrgnE marcusquinnM girishG 3 Replies Last reply
    0
    • ericdrgnE ericdrgn

      So I don't know what is going on but I have my backups set to Backblaze via rsync. And apparently I haven't really been paying attention but something really weird is going on so I just want to start fresh and see if it happens again. Currently I should have between 100-200gb backing up and the retention policy is supposed to cleanup every 2 days. Backblaze is saying I have around 4tb in the bucket.

      So how do I clean out all backups and snapshots properly and just start fresh? Obviously I am just going to wipe everything out from Backblaze as a whole but how do I make Cloudron recognize that and start fresh?

      ericdrgnE Offline
      ericdrgnE Offline
      ericdrgn
      wrote on last edited by
      #2

      Would it be easiest and work for me to just create a new bucket with Backblaze and create a new config?

      d19dotcaD 1 Reply Last reply
      0
      • ericdrgnE ericdrgn

        Would it be easiest and work for me to just create a new bucket with Backblaze and create a new config?

        d19dotcaD Offline
        d19dotcaD Offline
        d19dotca
        wrote on last edited by
        #3

        @ericdrgn If your backup retention policy is properly set at 2 days, then all you should need to do is hit the Cleanup Backups button and it’ll purge anything outside of that retention policy (with some exceptions such as version changes).

        I’ve used OVH Object Storage before and when I create a container with them it automatically makes a “+segments” container too, and I’m only charged for the one I created and not the one they create for me. Has something to do with upload sizes with the OpenStack backend or something. So even though I’m usually around 50 GB, and the container says that too, it also looks like I have a few TBs in the +segments container that’s related to it. Is that possibly the same for you? So maybe you’re only using a small amount of space as you expect but it just shows far more? Are you billed for the TBs of data too?

        --
        Dustin Dauncey
        www.d19.ca

        ericdrgnE 1 Reply Last reply
        0
        • d19dotcaD d19dotca

          @ericdrgn If your backup retention policy is properly set at 2 days, then all you should need to do is hit the Cleanup Backups button and it’ll purge anything outside of that retention policy (with some exceptions such as version changes).

          I’ve used OVH Object Storage before and when I create a container with them it automatically makes a “+segments” container too, and I’m only charged for the one I created and not the one they create for me. Has something to do with upload sizes with the OpenStack backend or something. So even though I’m usually around 50 GB, and the container says that too, it also looks like I have a few TBs in the +segments container that’s related to it. Is that possibly the same for you? So maybe you’re only using a small amount of space as you expect but it just shows far more? Are you billed for the TBs of data too?

          ericdrgnE Offline
          ericdrgnE Offline
          ericdrgn
          wrote on last edited by
          #4

          @d19dotca Yup to basically everything haha. My backups are set correctly but even hitting cleanup backups I have two backups from 3 weeks ago that won't go away. Besides that it definitely seems like I am being charged. My bill from backblaze jumped like $15 all of a sudden with a negligible amount of change in data that I actually use. So yeah I just want to start fresh and see what happens. I backup nightly so I should only ever have two backups. Not the 4 that cloudron is listing right now. And I should have nowhere near the 4tb that backblaze is saying I have.

          Either way whether I or backblaze is doing something wrong I want to start fresh. So my original question still stands. How do I clear all backups and retrigger a fresh backup using rsync starting from scratch?

          jdaviescoatesJ 1 Reply Last reply
          0
          • ericdrgnE ericdrgn

            @d19dotca Yup to basically everything haha. My backups are set correctly but even hitting cleanup backups I have two backups from 3 weeks ago that won't go away. Besides that it definitely seems like I am being charged. My bill from backblaze jumped like $15 all of a sudden with a negligible amount of change in data that I actually use. So yeah I just want to start fresh and see what happens. I backup nightly so I should only ever have two backups. Not the 4 that cloudron is listing right now. And I should have nowhere near the 4tb that backblaze is saying I have.

            Either way whether I or backblaze is doing something wrong I want to start fresh. So my original question still stands. How do I clear all backups and retrigger a fresh backup using rsync starting from scratch?

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

            @ericdrgn I'd guess the older backups are from an earlier version of Cloudron than you are currently on? I think those are kept for 2 weeks or something just in case.

            But yeah, clearing out old unwanted backups taking up too much disk space is pretty much the only reason I ever have to SSH info my VPS.

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply
            0
            • ericdrgnE ericdrgn

              So I don't know what is going on but I have my backups set to Backblaze via rsync. And apparently I haven't really been paying attention but something really weird is going on so I just want to start fresh and see if it happens again. Currently I should have between 100-200gb backing up and the retention policy is supposed to cleanup every 2 days. Backblaze is saying I have around 4tb in the bucket.

              So how do I clean out all backups and snapshots properly and just start fresh? Obviously I am just going to wipe everything out from Backblaze as a whole but how do I make Cloudron recognize that and start fresh?

              marcusquinnM Offline
              marcusquinnM Offline
              marcusquinn
              wrote on last edited by
              #6

              @ericdrgn Check the bucket settings in Backblaze isn't storing versions. They do this by default, I expect to increase storage usage and therefore billing.

              Web Design https://www.evergreen.je
              Development https://brandlight.org
              Life https://marcusquinn.com

              ericdrgnE 1 Reply Last reply
              1
              • marcusquinnM marcusquinn

                @ericdrgn Check the bucket settings in Backblaze isn't storing versions. They do this by default, I expect to increase storage usage and therefore billing.

                ericdrgnE Offline
                ericdrgnE Offline
                ericdrgn
                wrote on last edited by
                #7

                @marcusquinn Change "file lifecycle" to "keep only the last version"? Just confirming that is the setting you mean. It was on the "keep all versions"

                marcusquinnM 1 Reply Last reply
                2
                • ericdrgnE ericdrgn

                  @marcusquinn Change "file lifecycle" to "keep only the last version"? Just confirming that is the setting you mean. It was on the "keep all versions"

                  marcusquinnM Offline
                  marcusquinnM Offline
                  marcusquinn
                  wrote on last edited by
                  #8

                  @ericdrgn Exactly that - yes - that's the cause & solution 🙂

                  Web Design https://www.evergreen.je
                  Development https://brandlight.org
                  Life https://marcusquinn.com

                  1 Reply Last reply
                  2
                  • ericdrgnE ericdrgn

                    So I don't know what is going on but I have my backups set to Backblaze via rsync. And apparently I haven't really been paying attention but something really weird is going on so I just want to start fresh and see if it happens again. Currently I should have between 100-200gb backing up and the retention policy is supposed to cleanup every 2 days. Backblaze is saying I have around 4tb in the bucket.

                    So how do I clean out all backups and snapshots properly and just start fresh? Obviously I am just going to wipe everything out from Backblaze as a whole but how do I make Cloudron recognize that and start fresh?

                    girishG Do not disturb
                    girishG Do not disturb
                    girish
                    Staff
                    wrote on last edited by
                    #9

                    @ericdrgn To answer your original question of starting "afresh",

                    • Change the provider to file system backend temporarily
                    • Click cleanup backups. This will also remove all the database entries of backups. This is because in the latest release 6.2, the code checks if the backup exists in the backend and automatically removes the db entries. Since we switched to file system backend, the backups won't be found and Cloudron will remove it from it's internal db.
                    • You can also completely cleanup backblaze now. Sometimes, depending on your situation, it might be easier to just create a new bucket altogether.
                    • Now put it back to backblaze
                    ericdrgnE 1 Reply Last reply
                    5
                    • girishG girish

                      @ericdrgn To answer your original question of starting "afresh",

                      • Change the provider to file system backend temporarily
                      • Click cleanup backups. This will also remove all the database entries of backups. This is because in the latest release 6.2, the code checks if the backup exists in the backend and automatically removes the db entries. Since we switched to file system backend, the backups won't be found and Cloudron will remove it from it's internal db.
                      • You can also completely cleanup backblaze now. Sometimes, depending on your situation, it might be easier to just create a new bucket altogether.
                      • Now put it back to backblaze
                      ericdrgnE Offline
                      ericdrgnE Offline
                      ericdrgn
                      wrote on last edited by
                      #10

                      @girish Awesome thank you, I appreciate the advice. All seems to be working great now.

                      Also thanks @marcusquinn

                      1 Reply Last reply
                      2
                      • jdaviescoatesJ jdaviescoates referenced this topic on
                      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