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. Unmounting volume leaves the "backup volume"

Unmounting volume leaves the "backup volume"

Scheduled Pinned Locked Moved Solved Support
volumes
23 Posts 6 Posters 2.5k Views 6 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.
  • C crazybrad

    @girish In preparation to move my Cloudron from Hetzner (where I have a mounted volume for backup) to another provider, it seems as if the proper change beforehand is to follow your guidance above: "switch to Filesystem and put the path as /var/backups (this is also the default after you install cloudron)". Is this correct?

    J Offline
    J Offline
    joseph
    Staff
    wrote on last edited by
    #10

    @crazybrad you can just set it directly to wherever you want to move backups to. If you want to move to S3, Backups -> Configure -> just set it to S3 . Hope I understood your question correcrly.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      crazybrad
      wrote on last edited by crazybrad
      #11

      @joseph Apologies for the confusion. My mistake. It was not the backups (which are already mapped to a S3-compatible service) but rather the disk where critical Cloudron data was stored. I was using a drive mapped to a Hetzner volume. Here is a screenshot:

      diskmapping.png

      What are the proper steps to move these folders back to the root folder (/) on the main disk (/dev/sda1)?

      The new server I am migrating to will have a much larger disk and no external volume.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        crazybrad
        wrote on last edited by
        #12

        @joseph Any advice on how to move the core Cloudron data folders back to the main mounted drive? I need to move my Cloudron to a different host.

        J 1 Reply Last reply
        0
        • C crazybrad

          @joseph Any advice on how to move the core Cloudron data folders back to the main mounted drive? I need to move my Cloudron to a different host.

          J Offline
          J Offline
          joseph
          Staff
          wrote on last edited by joseph
          #13

          @crazybrad how did you move boxdata, platformdata into the other drive (/dev/sdb) ? By using symlinks? The approach stated here - https://docs.cloudron.io/storage/#default-data-directory ?

          1 Reply Last reply
          0
          • C Offline
            C Offline
            crazybrad
            wrote on last edited by
            #14

            @joseph Yes. My appsdata and boxdata folders are symlinked to the external mount point. If you could help provide the correct sequence of commands to stop the Cloudron, copy the folders back to the default location, and restart the Cloudron, I would be very grateful. I get the general idea of what is needed, but I don't want to make a mistake and break my installation. Of course the first step is an extra complete backup!

            1 Reply Last reply
            0
            • J Offline
              J Offline
              joseph
              Staff
              wrote on last edited by
              #15

              @crazybrad one more question... why are you moving them back (given that you seem to migrate to a new server anyway) ? It's not needed to move them back to migrate, the backups contain all the data. You can just restore with the latest backup to the new server and then if everything is good , you can delete the server and this mounted drive, no?

              1 Reply Last reply
              0
              • C Offline
                C Offline
                crazybrad
                wrote on last edited by
                #16

                @joseph Interesting. Hadn't considered that. Can you please provide a link to the recommended procedure? Would I start by adding another Cloudron to my account (say a free version), restore the backup, and then move the paid license to the newly created Cloudron?

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  joseph
                  Staff
                  wrote on last edited by
                  #17

                  @crazybrad like this https://docs.cloudron.io/backups/#move-cloudron-to-another-server . Do a full backup. Then just restore that backup to another server. The data, dns, license and everything will automatically move . When migrating, you can just power off your old server, don't delete it yet! This also make sure 100% that you are actually accessing the new server and not your old one. Only when you are happy that the data is fully well migrated, should you delete the old server.

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    crazybrad
                    wrote on last edited by
                    #18

                    @ joseph I think I've got it. In checking my DNS, all of my domains are managed at Porkbun, one of the integrated domain/DNS providers. Does that mean that upon restoring the backup, the new Cloudron will detect the change in IP address of the server and request updates @ Porkbun using the API credentials enrolled in my Cloudron?

                    jdaviescoatesJ J 2 Replies Last reply
                    0
                    • C crazybrad

                      @ joseph I think I've got it. In checking my DNS, all of my domains are managed at Porkbun, one of the integrated domain/DNS providers. Does that mean that upon restoring the backup, the new Cloudron will detect the change in IP address of the server and request updates @ Porkbun using the API credentials enrolled in my Cloudron?

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

                      @crazybrad personally what I do is to use the "dry run" feature which enables you to do a full restore on the new server and check everything is working there before updating the the DNS see https://docs.cloudron.io/backups/#dry-run

                      Also NOTE: (unless the UI has been updated to make it harder to miss since I last did it) be sure not to miss the little "looking to restore" link at the bottom when setting up the first domain for a new Cloudron install (I've done that before and then had to start all over again).

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      0
                      • C crazybrad

                        @ joseph I think I've got it. In checking my DNS, all of my domains are managed at Porkbun, one of the integrated domain/DNS providers. Does that mean that upon restoring the backup, the new Cloudron will detect the change in IP address of the server and request updates @ Porkbun using the API credentials enrolled in my Cloudron?

                        J Offline
                        J Offline
                        joseph
                        Staff
                        wrote on last edited by
                        #20

                        @crazybrad right, exactly. The new Cloudron will detect the IP changes and apply updates in Porkbun.

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          crazybrad
                          wrote on last edited by
                          #21

                          @ joseph Thank you. I will try this process. @jdaviescoates Much appreciated tip about "dry run". I will combine your collective wisdom and go forth and conquer!

                          1 Reply Last reply
                          1
                          • C Offline
                            C Offline
                            crazybrad
                            wrote on last edited by crazybrad
                            #22

                            @joseph Completed the migration to the new server, but I ran into several errors restoring apps. Roughly 70% of the apps were in an error state, with a message similar to this one for Listmonk: Docker Error: Unable to pull image cloudron/app.listmonk.cloudronapp:202411131609490000. Please check the network or if the image needs authentication. statusCode: 500

                            The event log shows a successful attempt to restore again: App was restored from version 1.9.0 to version 1.9.0 using backup at 2024-12-14-150347-189/app_

                            but multiple attempts at this have failed. In all but two apps (Listmonk and Mail), retrying (with an occasional app restart) has gotten this to work for each app. Services have plenty of resources. The server is large. I am unable to try Recovery Mode for this app as the error state locks me out of that option (and the restarting option as well). (Rebooted the server. Mail restored next time, but ListMonk took ~ 2 more times to work)

                            Two One questions:

                            (1) How can I resolve this?

                            (2) - Why did this happen in the first place?

                            I followed the backup, restore, dry run, sync DNS, update certificates process and all seemed to work fine.

                            J 1 Reply Last reply
                            1
                            • C crazybrad

                              @joseph Completed the migration to the new server, but I ran into several errors restoring apps. Roughly 70% of the apps were in an error state, with a message similar to this one for Listmonk: Docker Error: Unable to pull image cloudron/app.listmonk.cloudronapp:202411131609490000. Please check the network or if the image needs authentication. statusCode: 500

                              The event log shows a successful attempt to restore again: App was restored from version 1.9.0 to version 1.9.0 using backup at 2024-12-14-150347-189/app_

                              but multiple attempts at this have failed. In all but two apps (Listmonk and Mail), retrying (with an occasional app restart) has gotten this to work for each app. Services have plenty of resources. The server is large. I am unable to try Recovery Mode for this app as the error state locks me out of that option (and the restarting option as well). (Rebooted the server. Mail restored next time, but ListMonk took ~ 2 more times to work)

                              Two One questions:

                              (1) How can I resolve this?

                              (2) - Why did this happen in the first place?

                              I followed the backup, restore, dry run, sync DNS, update certificates process and all seemed to work fine.

                              J Offline
                              J Offline
                              joseph
                              Staff
                              wrote on last edited by
                              #23

                              @crazybrad said in Unmounting volume leaves the "backup volume":

                              Listmonk: Docker Error: Unable to pull image cloudron/app.listmonk.cloudronapp:202411131609490000. Please check the network or if the image needs authentication. statusCode: 500

                              This is the ipv6 rate limit issue which many are hitting. dockerhub seems to pushed some bad implementation of rate limits and it's wholesale cutting off network providers from accessing dockerhub. We have a workaround in place now for the new release.

                              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