top of page
  • Writer's pictureArthur olsen

Migrating your validator

1. Backup priv_validator_key.json, node_key.json, priv_validator_state.json (IMPORTANT!) You can also backup node-id and priv_validator_state.

2. Get your new node synced, for exmple with state sync.

3. Switch off Old node.

4. Stop Kujirad service on new node. Copy the backup files to their respective directories and restart kujirad.

Remark, if you plan to copy the priv_validator state file, you should do it AFTER the original validator has been stopped

scp <user>@<old-ip>:/home/kuji/.kujira/config/node_key.json /home/kuji/.kujira/config/node_key.json

scp <user>@<old-ip>:/home/kuji/.kujira/config/priv_validator_key.json /home/kuji/.kujira/config/priv_validator_key.json

scp <user>@<old-ip>:/home/kuji/.kujira/data/priv_validator_state.json /home/kuji/.kujira/data/priv_validator_state.json

kujirad keys add <wallet name> --recover

sudo systemctl start kujirad


48 views0 comments
Post: Blog2_Post
bottom of page