Moving Cloudron to new server : stop apps?
-
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 momentMoved 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 ?
-
-
@timconsidine Awesome, did you even have to use the docs?
-
@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/
-
@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 !
-
@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.
-
@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 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
-
@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
-
N necrevistonnezr referenced this topic on