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

    Solved Changing the location of Cloudron's backup

    Support
    backups cleanup-backups
    7
    13
    523
    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.
    • F
      Felix App Dev last edited by girish

      Hello Cloudron community,

      I was wondering. is it possible to set the following to backup to Google Drive or Icloud, etc:

      04a21318-be24-4d0d-868a-4ddfe6ccb96a-image.png

      Also, if I hit clean backup here. Does that mean that all the backups in my server will be deleted?

      af3a2656-5bcb-425d-8766-6e0849d5d6ee-image.png

      Thank you as always.

      murgero jdaviescoates 2 Replies Last reply Reply Quote 0
      • murgero
        murgero App Dev @Felix last edited by

        @Felix Not sure about google drive, but you can just press "Configure" in the backup page and setup a new location and Cloudron will start putting backups there.

        --
        https://urgero.org
        ~ Professional Nerd. Freelance Programmer. ~
        Matrix: @murgero:urgero.org

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

          If the backup location is reconfigured, it is good to make a new full backup immediately. Existing backups are not moved from the old location to the new.

          1 Reply Last reply Reply Quote 3
          • jdaviescoates
            jdaviescoates @Felix last edited by

            @Felix said in Changing the location of Cloudron's backup:

            Also, if I hit clean backup here. Does that mean that all the backups in my server will be deleted?

            I'm also unclear about exactly what happens if we press that button?

            I use Cloudron with Gandi & Hetzner

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

              Ah right, it will trigger the same task to remove backups which are, based on the configure retention policy, now to be removed. This is useful if a server runs out of space due to too many backups being kept around and that button simply skips the wait for that cron job to run.

              marcusquinn 1 Reply Last reply Reply Quote 2
              • girish
                girish Staff last edited by girish

                Does anyone have suggestions for better text instead of "Cleanup Backups"? It only cleans up backups based on the backup policy and does not remove all backups. We could add a modal dialog showing some more information when that button is clicked but with the current text maybe clicking that button feels "risky".

                On a related note, the "Cleanup Backups" does not work if you changed the backup provider. For example, if you switched from say S3 to something else, then the "Cleanup Backups" won't be able to remove backups from S3 since Cloudron does not have credentials to access S3 anymore.

                d19dotca 1 Reply Last reply Reply Quote 3
                • d19dotca
                  d19dotca @girish last edited by

                  @girish "Cleanup backups" is probably the simplest, but maybe when hitting that button a window could pop-up and describe exactly what it does and asks for confirmation to proceed? This may help users who aren't understanding how the "Cleanup backups" function works. Or it could be renamed a bit longer to "Cleanup backups outside of retention policy"? But that'd be a large button. lol.

                  --
                  Dustin Dauncey
                  www.d19.ca

                  1 Reply Last reply Reply Quote 1
                  • marcusquinn
                    marcusquinn @nebulon last edited by

                    @nebulon Adding a column for "Location" in that Listing table would be neat.

                    "Purge Backups" is about as succinct as I can think for just the button but maybe use tooltip text for a longer description?

                    Modal warning, explanation and confirmation also seems appropriate.

                    Ideally Backup settings should be stored in an editable table anyway, with dropdown to select the current primary.

                    We're not here for a long time - but we are here for a good time :)
                    Jersey/UK
                    Work & Ecommerce Advice: https://brandlight.org
                    Personal & Software Tips: https://marcusquinn.com

                    1 Reply Last reply Reply Quote 1
                    • girish
                      girish Staff last edited by

                      @d19dotca @marcusquinn Thanks for the suggestions. I have added a modal warning for now which gives more info on what the button does.

                      marcusquinn 1 Reply Last reply Reply Quote 3
                      • marcusquinn
                        marcusquinn @girish last edited by

                        @girish Worth adding ... to the end of the button text when there's a confirmation step.

                        So Purge backups...

                        Makes is a bit more self-explanatory and less intimidating to click without knowing if the action is immediate or not.

                        We're not here for a long time - but we are here for a good time :)
                        Jersey/UK
                        Work & Ecommerce Advice: https://brandlight.org
                        Personal & Software Tips: https://marcusquinn.com

                        d19dotca 1 Reply Last reply Reply Quote 1
                        • d19dotca
                          d19dotca @marcusquinn last edited by

                          @marcusquinn IMHO, I don't think "purge backups" is any more self-explanatory than "cleanup backups", because neither of them make it clear that it's only removing backups that fall outside of the retention policy. If it was called "Purge backups", I'd assume it'd do what "Cleanup backups" does which is remove all backups for a fresh start.

                          --
                          Dustin Dauncey
                          www.d19.ca

                          marcusquinn 1 Reply Last reply Reply Quote 1
                          • marcusquinn
                            marcusquinn @d19dotca last edited by

                            @d19dotca Sure - agreed - hence a ... on the end of whatever words and a modal that will have more room to explain - which I think is what's happening anyway 🙂

                            We're not here for a long time - but we are here for a good time :)
                            Jersey/UK
                            Work & Ecommerce Advice: https://brandlight.org
                            Personal & Software Tips: https://marcusquinn.com

                            1 Reply Last reply Reply Quote 1
                            • F
                              Felix App Dev last edited by

                              Thank you everyone for the clear explanations as always. 🙏

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