Skip to content

Migrate the Agent to a New Server

This page explains the steps to follow to keep all your agent’s history when you replace an old server with a new one.

  1. Stop the agent on the old server.
  2. Copy /var/lib/glouton/state.json from the old server to the new server.
  3. Optional: if you have changed the configuration, copy the configuration files from the old server to the new server (for example /etc/glouton).
  4. Repeat the installation steps on the new server.
  5. The migration is now complete. Uninstall the agent on the old server to make sure it will not start by mistake.