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

    Moving Cloudron to new server : stop apps?

    Support
    backups migration
    3
    11
    481
    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.
    • timconsidine
      timconsidine App Dev last edited by girish

      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 ?

      fbartels 1 Reply Last reply Reply Quote 0
      • robi
        robi last edited by

        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.

        Life of Advanced Technology

        timconsidine 2 Replies Last reply Reply Quote 2
        • timconsidine
          timconsidine App Dev @robi last edited by

          @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 Reply Quote 0
          • timconsidine
            timconsidine App Dev @robi last edited by

            @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. 👍 💋 💋 💋

            robi 1 Reply Last reply Reply Quote 3
            • robi
              robi @timconsidine last edited by

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

              Life of Advanced Technology

              timconsidine 1 Reply Last reply Reply Quote 0
              • fbartels
                fbartels App Dev @timconsidine last edited by

                @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/

                timconsidine 3 Replies Last reply Reply Quote 3
                • timconsidine
                  timconsidine App Dev @robi last edited by

                  @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 Reply Quote 0
                  • timconsidine
                    timconsidine App Dev @fbartels last edited by

                    @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 Reply Quote 0
                    • timconsidine
                      timconsidine App Dev @fbartels last edited by

                      @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 !

                      fbartels 1 Reply Last reply Reply Quote 0
                      • timconsidine
                        timconsidine App Dev @fbartels last edited by

                        @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 Reply Quote 0
                        • fbartels
                          fbartels App Dev @timconsidine last edited by

                          @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 Reply Quote 1
                          • First post
                            Last post
                          Powered by NodeBB