Backup Node
Part 1: Backing Up the Node
-
Stop node:
-
Backup the wallet private key by exporting the Ethereum key
-
Backup the validator key
- File location: /root/.0gchain/config/priv_validator_key.json
- Copy this file to your local machine.
- Store it carefully; this is the most crucial key for your validator.
-
If you’ve never backed up before, backup the entire
config folder
Part 2: Restoring the Node and Wallet
-
Install a new node and sync the blockchain:
-
Perform the restoration
- Stop the new node:
- Copy and replace the previously backed up
priv_validator_key.json
file into the/root/.0gchain/config/
directory of the new node. - Restore the wallet:
- From Private key:
- From mnemonic phrase:
-
Restart the node
-
Check the node and validator status to ensure everything is functioning normally.