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. Moving Cloudron to new server : stop apps?

Moving Cloudron to new server : stop apps?

Scheduled Pinned Locked Moved Support
backupsmigration
11 Posts 3 Posters 1.8k Views 3 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.
    • timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote on last edited by girish
      #1

      I am just about to move my Cloudron instance to a new server.
      New VPS provider - switching to SSDNODES as they have some awesome offers on at the moment

      Moved server once before and following the docs carefully (I hope)

      But just occurred to me : is it best(better) practice to stop all apps before taking a backup ?

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

        No, that's not necessary. But if you have a heavily used app, then it helps to stop new data coming in and have a planned outage.

        Conscious tech

        timconsidineT 2 Replies Last reply
        2
        • robiR robi

          No, that's not necessary. But if you have a heavily used app, then it helps to stop new data coming in and have a planned outage.

          timconsidineT Offline
          timconsidineT Offline
          timconsidine
          App Dev
          wrote on last edited by
          #3

          @robi Cheers
          Yep, although I told the users about server downtime, I never trust users (because I am one and I know what I'm like sometimes !!)

          1 Reply Last reply
          0
          • robiR robi

            No, that's not necessary. But if you have a heavily used app, then it helps to stop new data coming in and have a planned outage.

            timconsidineT Offline
            timconsidineT Offline
            timconsidine
            App Dev
            wrote on last edited by
            #4

            @robi : All done ! 🍾
            No issues apart from manually creating mount points for some apps. Which is hardly an issue at all.
            Some detailed checking of apps to be done.
            But wow, Cloudron is just amazing in ease of use and seamless process. 👍 💋 💋 💋

            robiR 1 Reply Last reply
            3
            • timconsidineT timconsidine

              @robi : All done ! 🍾
              No issues apart from manually creating mount points for some apps. Which is hardly an issue at all.
              Some detailed checking of apps to be done.
              But wow, Cloudron is just amazing in ease of use and seamless process. 👍 💋 💋 💋

              robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #5

              @timconsidine Awesome, did you even have to use the docs?

              Conscious tech

              timconsidineT 1 Reply Last reply
              0
              • timconsidineT timconsidine

                I am just about to move my Cloudron instance to a new server.
                New VPS provider - switching to SSDNODES as they have some awesome offers on at the moment

                Moved server once before and following the docs carefully (I hope)

                But just occurred to me : is it best(better) practice to stop all apps before taking a backup ?

                fbartelsF Offline
                fbartelsF Offline
                fbartels
                App Dev
                wrote on last edited by
                #6

                @timconsidine said in Moving Cloudron to new server : stop apps?:

                is it best(better) practice to stop all apps before taking a backup ?

                Stopping the app actually counterproductive, since stopped apps are not part of the whole system backup. Therefore it cannot be recommended.

                I recently also had to move my Cloudron instance to a newer (bigger and latest supported os) server and was tinkering with scripts to smoothen out the already very good migration experience. What I ended up doing was writing a small bash script to kick off the backup, poll its state until complete and directly turn off the old server and send me a notification about it.

                I have collected my steps at https://blog.9wd.eu/posts/cloudron-migration/

                timconsidineT 3 Replies Last reply
                3
                • robiR robi

                  @timconsidine Awesome, did you even have to use the docs?

                  timconsidineT Offline
                  timconsidineT Offline
                  timconsidine
                  App Dev
                  wrote on last edited by
                  #7

                  @robi said in Moving Cloudron to new server : stop apps?:

                  @timconsidine Awesome, did you even have to use the docs?

                  In hindsight, probably not, but I did check, just in case !

                  1 Reply Last reply
                  0
                  • fbartelsF fbartels

                    @timconsidine said in Moving Cloudron to new server : stop apps?:

                    is it best(better) practice to stop all apps before taking a backup ?

                    Stopping the app actually counterproductive, since stopped apps are not part of the whole system backup. Therefore it cannot be recommended.

                    I recently also had to move my Cloudron instance to a newer (bigger and latest supported os) server and was tinkering with scripts to smoothen out the already very good migration experience. What I ended up doing was writing a small bash script to kick off the backup, poll its state until complete and directly turn off the old server and send me a notification about it.

                    I have collected my steps at https://blog.9wd.eu/posts/cloudron-migration/

                    timconsidineT Offline
                    timconsidineT Offline
                    timconsidine
                    App Dev
                    wrote on last edited by
                    #8

                    @fbartels said in Moving Cloudron to new server : stop apps?:

                    Stopping the app actually counterproductive, since stopped apps are not part of the whole system backup.

                    Interesting point, thank you
                    Probably it would be good to clarify this in the docs, as without this knowledge, it might seem the safer thing to do.
                    Not sure who manages the docs.

                    Thanks for the script, also interesting.

                    The only 'challenge' (although also not really an issue) is that I use ClouDns who are not directly supported, so I use the Wildcard approach. So I have 20+ domains to update the DNS for. Sadly I don't think that can be scripted.

                    1 Reply Last reply
                    0
                    • fbartelsF fbartels

                      @timconsidine said in Moving Cloudron to new server : stop apps?:

                      is it best(better) practice to stop all apps before taking a backup ?

                      Stopping the app actually counterproductive, since stopped apps are not part of the whole system backup. Therefore it cannot be recommended.

                      I recently also had to move my Cloudron instance to a newer (bigger and latest supported os) server and was tinkering with scripts to smoothen out the already very good migration experience. What I ended up doing was writing a small bash script to kick off the backup, poll its state until complete and directly turn off the old server and send me a notification about it.

                      I have collected my steps at https://blog.9wd.eu/posts/cloudron-migration/

                      timconsidineT Offline
                      timconsidineT Offline
                      timconsidine
                      App Dev
                      wrote on last edited by
                      #9

                      @fbartels The only minor nuisance is that I didn't set the PTR record in the new VPS provider until I started the migration. And >12 hours later, it's still not propagated.
                      But out of my control, I guess, just have to wait.
                      Patience is not a virtue I am known for !

                      fbartelsF 1 Reply Last reply
                      0
                      • fbartelsF fbartels

                        @timconsidine said in Moving Cloudron to new server : stop apps?:

                        is it best(better) practice to stop all apps before taking a backup ?

                        Stopping the app actually counterproductive, since stopped apps are not part of the whole system backup. Therefore it cannot be recommended.

                        I recently also had to move my Cloudron instance to a newer (bigger and latest supported os) server and was tinkering with scripts to smoothen out the already very good migration experience. What I ended up doing was writing a small bash script to kick off the backup, poll its state until complete and directly turn off the old server and send me a notification about it.

                        I have collected my steps at https://blog.9wd.eu/posts/cloudron-migration/

                        timconsidineT Offline
                        timconsidineT Offline
                        timconsidine
                        App Dev
                        wrote on last edited by
                        #10

                        @fbartels said in Moving Cloudron to new server : stop apps?:

                        I have collected my steps at https://blog.9wd.eu/posts/cloudron-migration/

                        Nice article and helpful steps 👍

                        1 Reply Last reply
                        0
                        • timconsidineT timconsidine

                          @fbartels The only minor nuisance is that I didn't set the PTR record in the new VPS provider until I started the migration. And >12 hours later, it's still not propagated.
                          But out of my control, I guess, just have to wait.
                          Patience is not a virtue I am known for !

                          fbartelsF Offline
                          fbartelsF Offline
                          fbartels
                          App Dev
                          wrote on last edited by
                          #11

                          @timconsidine said in Moving Cloudron to new server : stop apps?:

                          that I didn't set the PTR record in the new VPS provider until I started the migration

                          I ran into exactly this problem the last time as well 😄

                          1 Reply Last reply
                          1
                          • necrevistonnezrN necrevistonnezr 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