Skip to main content
Version: v3.0.0

Backup, Restore and Update Your Node

Backup your node identity

Please select a platform to backup your node identity:

The identity file is automatically created and stored on your machine.

  1. Back Up Your Identity File

    The identity file .hopr-id-dufour is located at:

    /<computer username>/hoprd/
  2. Write Down Your Database Password

    The password is set using the --password flag in the HOPRd Docker command.

    Default password:

    open-sesame-iTwnsPNg0hpagP+o6T0KOwiH9RQ0
  3. Store Your Backup Safely

    Save both the .hopr-id-dufour file and your password in a secure location.


Restore your node identity

Please select platform to restore your node identity:

  1. Ensure You Have a Backup

    Before restoring your node identity, make sure you have already backed up your HOPR node identity.

    You will need the identity file .hopr-id-dufour and the corresponding database password.

  2. Restore the Identity File

    Copy your backed-up .hopr-id-dufour file into the following folder:

    /hoprd/
  3. Set the Password Flag

    Update the --password tag in your Docker command to match the database password used for your previous node. Default password: open-sesame-iTwnsPNg0hpagP+o6T0KOwiH9RQ0

  4. Configure Your Docker Command

    Configure the Docker command with the required information, just as you did when initially setting up a new node.

    For more details, see this section.


Update your node

When migrating from v2.2.x to v3.0.0, there's no need to re-sync your node manually — the re-syncing process is automated. Simply follow the steps below.

Please select your platform to update your HOPRd node:

  1. Redeem manually tickets and close incoming channels

    info

    Before redeeming tickets, note that the minimum_redeem_ticket_value configuration setting determines the minimum channel balance. If the balance falls below this value, it represents the amount of HOPR tokens you’re willing to lose. You can always lower this amount before redeeming all tickets.

    1. Connect to your node via the Admin UI, navigate to the Tickets page, and click the Redeem All Tickets icon. Wait until the unredeemed tickets value decreases and approaches 0.

    2. Navigate to the CHANNELS: IN page and close all incoming channels by clicking the Close Incoming Channel button next to each channel.

  2. Back Up Your Identity File

    Follow the instructions in this guide.

  3. Remove current running HOPRd container

    1. Enter the following command in your terminal to check running docker containers:

      docker ps

      This will show all running Docker containers. Look for the one labeled: europe-west3-docker.pkg.dev/hoprassociation/docker-images/hoprd:stable

    2. Write down HOPRd node container ID:

      Example:

      8baa38408847

      Docker ps

    3. Remove the old container using (Replace <Your_Container_ID> with writen down HOPRd node container ID): docker rm -f <Your_Container_ID>

      Example:

      docker rm -f 8baa38408847
  4. Remove Database Files

    1. Navigate to your HOPRd node folder, which is named .hoprd-db-dufour by default.

    2. Execute the following command to delete all database files:

      rm -rf db && rm -f tbf
  5. Update Your Configuration File

    Ensure your configuration file is up to date. To replace your current configuration file with a new one, follow this guide.

  6. Enable Fast Sync (Optional)

    Fast Sync significantly accelerates node synchronization. This process can take anywhere from 10 to 20 minutes, depending on your hardware specifications. To enable fast sync, follow this guide.

  7. Start Your Node

    To start your node, use the command you previously executed or refer to the Docker command.

  8. What's next?

    After migrating from HOPRd v2 to HOPRd v3, verify that your migration was successful by following this guide.


Update your HOPR Admin UI

note

For Dappnode users, the HOPR Admin UI is bundled with the HOPR package and cannot be updated separately.

Please select your platform to update the HOPR Admin UI:

  1. List Running Docker Containers

    Run the following command in your terminal:

    docker ps

    Look for the container using the image:

    europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:stable

    Note the container ID listed in your terminal.

    Docker container list showing hopr-admin image

  2. Remove the Admin UI Container

    Replace <Your_Container_ID> with your actual container ID:

    docker rm -f <Your_Container_ID>

    Example:

    docker rm -f 0a74437b27f8
  3. Reinstall the Latest Admin UI

    Retrieve and run the latest Admin UI installation command in your terminal.