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

  1. Open the app and go to Settings. For a WordPress site, it’s on the Overview.
  2. Choose Move to another server, and pick the server.
  3. Confirm. The run is shown line by line.

What happens

  1. kubespin checks the new server: its engine answers, and there’s room for the data and images.
  2. It stops the app on the old server, keeping it rather than removing it.
  3. 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.
  4. 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