How to migrate or configure a new node

This is asked many times on Telegram and I think it would be helpful to share the steps required.

Migrate an existing node to a new server

You want to migrate an existing node to a new server.

Do these steps on the old server:

  1. Stop the node.
  2. Make a backup of the .config/ directory.

Do these steps on the new server:

  1. Restore your backup of the .config/ directory.
  2. Start node.

Configure a new node

You want to start a new node on a new server and make a config change such as enabling gRPC.

  1. On new server, run /path/to/node -peer-id. This will generate the .config/config.yml file.
  2. Make any changes to .config/config.yml file.
  3. Start the node.
5 Likes

Posting here the latest guide to setting up your new node. - Setting up your Node – Quilibrium Guide

Though on the part wherein “8. Generate your config.yml and keys.yml files”, follow @littleblackcloud of restoring the backed-up .config folder inside the node folder.