Article · 2 min read · Getting started
kubespin: Move an app to another server
Move an app, with its data, from one of your servers to another.
Move an app, with its data, from one of your servers to another.
Steps
- Open the app and go to Settings. For a WordPress site, it’s on the Overview.
- Choose Move to another server, and pick the server.
- Confirm. The run is shown line by line.
What happens
- kubespin checks the new server: its engine answers, and there’s room for the data and images.
- It stops the app on the old server, keeping it rather than removing it.
- It copies each named volume through kubespin, so the two servers never need to reach each other. A database in a shared MariaDB is dumped and loaded.
- It deploys on the new server from the same settings.
The app is down while its data copies.
If anything fails, what the new server got is taken down, and the app starts again on the old server, unchanged.
The old copy stays, stopped, for 7 days, or until you choose Remove the old copy now.
When the old server isn’t answering
You’re offered Set it up on another server without its data instead. The old copy is remembered, so it can be removed if the machine ever comes back.
Notes
- A ready app moved to another server gets a new port and a new generated address there.
- To move from a home server to the cloud, see kubespin: Migrating apps from a home server to the cloud.