Skip to main content
Version: v2.1.5

Backup, Restore and Update Your Node

Backup your node identity

Please select a platform to backup your node identity:

For Docker, the identity file is automatically created and stored on your machine.

(1) Find the identity file ".hopr-id-dufour" at this path "/<computer username>/.hoprd-db-dufour/".

(2) Write down the database password, which is set by this setting in the HOPRd docker command "--password".

Note: Your database password is set to open-sesame-iTwnsPNg0hpagP+o6T0KOwiH9RQ0 by default, unless you changed it during the initial node setup.

(3) Store the backed-up file somewhere safe, along with your database password, in case you ever need to restore your node.


Restore your node identity

Please select platform to restore your node identity:

(1) Before restoring your node identity, ensure that you have backed up your HOPR node identity. Confirm that you have the HOPR identity file: ".hopr-identity" and make sure you also have the database password.

(2) Copy the ".hopr-identity" file into the ".hoprd-db-dufour" folder.

(3) Update the "--password" tag in the Docker command to match the database password used for your previous node.

(4) Configure the Docker command with the required information, just as you did initially when setting up a new node. For more details, see here.


Update your node

Please select platform to update your node identity:

(1) Back up your identity file. Follow the instructions in this guide.

(2) Enter the following command docker ps into your terminal.

This will provide you with a list of Docker containers you are currently running. Among them, locate the one with the label "europe-west3-docker.pkg.dev/hoprassociation/docker-images/hoprd:stable" and note the "container ID".

Docker ps

In the image above, the container ID is: "4951b2990936". In your system, the Docker container ID will be different.

(3) Kill the container using the following command: docker kill <Your_Container_ID>. Replace "<Your_Container_ID>" with your container ID.

Example:

docker kill 4951b2990936

(4) Run the latest configured command to update your node.


Update your HOPR Admin UI

Note: For Dappnode users, the HOPR Admin UI cannot be updated separately, as it is bundled with the HOPR package.

Please select platform to update your HOPR Admin UI:

(1) Enter the following command docker ps into your terminal.

This will provide you with a list of Docker containers you are currently running. Among them, locate the one with the label "europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:stable" and note the "container ID".

Docker ps

In the image above, the container ID is: "0a74437b27f8". In your system, the Docker container ID will be different.

(2) Kill the container using the following command: docker kill <Your_Container_ID>. Replace "<Your_Container_ID>" with your container ID.

Example:

docker kill 0a74437b27f8

(3) Retrieve the latest installation command for the HOPR Admin UI and execute it in your terminal.