Backing up your Raspberry Pi node ID
Your node identity is stored in the keystore folder on your Raspberry Pi. Backing it up ensures you can restore your node later if your device is lost or corrupted.
Connect to your Raspberry Pi
Use PuTTY (on Windows) or a terminal (Linux/macOS) to SSH into your Pi:
ssh pi@<rpi-ip-address>
Copy the keystore folder
Run the following command to copy the keystore folder into your home directory:
sudo cp -r /var/lib/mysterium-node/keystore /home/pi
Verify that it copied correctly:
sudo ls -la /home/pi
Change the ownership of the folder to user pi
:
sudo chown -R pi keystore
Now the keystore
folder is in your home directory.
Transfer the backup to your computer
On your computer (Windows PowerShell example), run:
scp -r pi@<rpi-ip-address>:/home/pi/keystore .
This will copy the keystore folder into your user directory on Windows.
Done
Inside the keystore
folder you will find a UTC*
file. This file contains your node ID and is now safely backed up. Store it somewhere secure.