> For the complete documentation index, see [llms.txt](https://docs.accumulatenetwork.io/accumulate/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.accumulatenetwork.io/accumulate/setup/retaining-validator-keys-when-wiping-node-data.md).

# Retaining validator keys when wiping node data

To backup your validator keys (located in `priv_validator_key.json` & `register.json`), make sure you're running AccMan v0.3 or above.

![](https://lh5.googleusercontent.com/fOVzk6M3tJJsJIe6Zf635Vm3xE7QI9GuDKXqJMso8vxDE79_Ta5JubQL2dQlwOhMhU4QplFd0r3Z0G61aLxgbY_WVFCaVsq6UbR2Xotx9o76ygEd8i35XdJdg87mOA9VC_e6elzKxGdY3U2Bcyck8VOcZ0MW3QRPAg72pbR--xZjnpPX5K1dDy83BQ)

Your node should be running.

![](https://lh6.googleusercontent.com/ndn8msSNZ-mPfBtHdo-MobPAc2WDNVSQ0PA6Js63rm-t1z1s1uq8CmXKI2S548Tn8XtGbFAR7MfCpIBvqKlZYeRa6vHvH-M6EyjyMf08eowOClgqK936whcidAwSMNfpZM59JkNJyPLyO8kof7znnH3q1iedCM3X_-qdVSWfFpRDpx7KnovrssJMUg)

Select Key Management.

![](https://lh6.googleusercontent.com/rZnXWTgAtmtjvEPlXvYf26WRMS9lHE4xPEkIfgm-lats9-sPBzLAS4nUq1pCqV59A5brQn7MMyyXeAcS-NzmB4cJqAdwTa88ubJpUKThTMMvnYcS_1bg3Ea2FdmLLfEvP9Gt2FaI8T6INm4RFRN6wXyV9QcbvysRxKBQ9NwK_uJMfzU-M4EyVlP_Hg)

Select Backup Key to AccMan. Follow the prompt to encrypt it with a password.

![](https://lh6.googleusercontent.com/BaFykNAZbMPi2JSQE2Hof-EC13DGPQMyrcJGTHm7VuznJW_Qvf4urbnFyFhet0LAnOLxJRgUGAL4qzuqcbsCqmhwc6FuE3Xw9q6DuworDI_w8v7qiXKc2_CSpUwmscDhR7cMqJUJ85jyPbIBRKY4o-S6iY_caSmX1b1CSxAr6xe8XAlILH3frqBi_g)

**Take note of the Network.  YOU MUST ONLY RESTART ON THIS NETWORK / BVN later on**

Stop the node.

![](https://lh3.googleusercontent.com/vq11HyvgvO9zw-vp6sgJW0OHhRoo-dK6uVD6jpZLgJIw3yXvhhrY9WxCpRfUtmXSX_HHVipwayBfeYzyAxsdfpFDa2F2BDWJC3g9E0Gg3sZ2AewQnF7qCKeSaJahxInXj2kigyMpWU_nK0dncf5EtdbnhumdKtonbRt4I0nelu65s7ga5V8qeuTPWg)

Delete Node with the “Clean/Delete” option.

![](https://lh3.googleusercontent.com/cLNEnj2upUf1_lJHCO9nRO-dfX8rsL-pY14WXiiKBxrufqwV3QnhZqjogW4FwFUsWrEfaEQbAUXU6PjBjFkKZA8qA26OLVoQgUiMvARyL8l5lqvxnjABQX2F9Pp-tAinEiAQLjB-8-QrR8pJrkpbAupDlnZ8HkU1Rs0BjD8jj-WimKXNxQDxEDAJWA)

Create node

![](https://lh4.googleusercontent.com/JwedPEh7lj7IwM8IAAPr6RsjDNg0u19F7cjb6UE7OVFrXXDTTECvFlHTTokJX4S4jXt3uYQLRCa8MaMYNbgSOw9T1xqqsEJXPbpgiAYvULK4ri0YShA2mwjX6apfneIFX6BrI8T4ZNi0Hy48RfnHXuYhSBSRunJg155o-YPHd6g_69mrQ-KimZrTtg)

Join Accumulate Network

![](https://lh6.googleusercontent.com/e8982EpVnkDazgC5hJbE4d5rGsudvdBkZ572MryrqWp0KOwly4IuOQy9-eRlv92cF7mTfbED3uifm8cvqnBgzcIHJtFtuxTI8HMkLzNZhTyf0OJPP1er6zyfXkdYvBJ_zzi4fHU7gNntZZItUgzY8ZRJaZXbcIoeShwHPxbhqmlQtY_TbON1FmPRAg)

Select the same Network as your backup

![](https://lh4.googleusercontent.com/5Uz3g0kN8paDflhudyJcvMA-dCcXc6E75d9pFkfGFztz7vAt_6bIdtCgOmWDtyQy8BaQzMt-F9sjC8t90QK5a_9-ZFyvNuU68a8e3IeuHi7wkBy9_FmQSSzfohdLBJLDxBSVqAr2v9E4SMZFYhMPCV-qpVxlB8bC4nnZMqsRtOCOckggyIrYxt8Bjg)

Select the same BVN as your backup

![](https://lh6.googleusercontent.com/SB5q6gtkjRLdltVZW_e_P4OobfrZxvFVDr4IKmsPQYL5OneyowXKlzqu0_tOPqTcw0oN1WMPyf3ufICOgl8sxW1s2IK7R-PJ0aj6twxHVaR2BzdSWNOk6GxlKGfwgsj-nLRTCroMejkUlG4R9x5jst540wsz-lPjPxSKRXH2sbgV5WbdlOyMwNOmsg)

Select latest version offered.

![](https://lh4.googleusercontent.com/DpUOJAFVCkuDiDHztxc8kdykUVdam2xlOGv0dGnTGxwwiZuDEQI5sDPxBPT9AjVIifBAxWT2CFxcjpWyJKKDxzoXbXe1gmX8UT1pNoper-LzU9mKp4C28CGj0kFK9TfLGfnPXbkd6-WaZxqXFN_tWSWCwuDG4uWnRGUJQB0QavIm5Eu2UoYfgvJj3Q)

Restore key when prompted

![](https://lh6.googleusercontent.com/0RipwOeJj3YuMm4pvESEZWqMFPPTWwHwz-FvbSKc0d2BPI3G4eOhZi8gMw1BYMHwbockyLkM8D0mCAR2g0zAx2S8nZl99ySq-TxPpcrpWLZ9BGRPYR5k3oAbwnGTglpaYbNLjIJ79rsEaMwBy1Wf9Zkpmy_8rs3EmtuYdzWffumbawkTmx4OE4FCpw)

Start.

![](https://lh4.googleusercontent.com/UfFJ5ceO4L1KIh0GqGfE4cibxb3ezwiC9HugNE1RaelqgVSSeE8Jy7MZFnvYMwgJ_mxKFUuO60SyJltHDxo6iX0GORtk8XAvH7m8wLHF9T8hXnDXOmo_l4bXlXU1uW4znevAcD3rbv6gUh3wheTyotk_0mMftwSb3uA3erAP2zb-hlY65Dm4nqlYKw)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.accumulatenetwork.io/accumulate/setup/retaining-validator-keys-when-wiping-node-data.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
