Updating Node
Introduction
When updating your node, care should be taken to ensure the update goes smoothly. These instructions use the babylonnode CLI tool for an easy update process.
1. Prepare to update
First, if you haven’t already done so, ensure that you have backed up your node-keystore.ks key file. This key file contains the private key that determines your node’s unique address. If anything goes wrong in the update process, if you have your key file, you can always reinstall the node from scratch and use it to recover access to your node.
Next, you may want to consider using a backup node to perform a switch to the updated node with minimal interruption (especially if running a validator node) – or to provide a quick recovery if something goes wrong during the update.
2. Update your node
Docker mode
babylonnode docker install --update
systemd mode
babylonnode systemd install -u
-
The
-uoption specifies that this launch of the node will be an update, causingbabylonnodeto create a backup of the current configuration file and ensure that the node has stopped before applying the changes. -
Optional - The -r specifies the release of the node software you wish to install. If not provided it will use the latest release from https://github.com/radixdlt/babylon-node/releases
-
Optional - The
-ioption is the external IP address of your server.