> For the complete documentation index, see [llms.txt](https://docs.exsat.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exsat.network/guides-of-data-consensus/others/operation-references/common-operations/export-private-key.md).

# Export private key

You can export private key to backup it if necessary.

If you're running from source code, please execute "yarn start-commander" to run the client.&#x20;

```
yarn start-commander
```

If you're running with Docker, please use the following commands to run it in interactive mode (assume the container name is commander)

```
docker rm commander
docker run -it --name commander -v $HOME/.exsat/:/app/.exsat -e CLIENT_TYPE=commander exsatnetwork/exsat-client:latest
```

Then perform the "Export Private Key" action by choose :&#x20;

Synchronizer/Validator -> Export Private Key

<figure><img src="https://3042747009-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDUBtTPZKYj40o0zqoC8%2Fuploads%2FQGoQpRqLpPAoYYdU17V8%2Fimage.png?alt=media&amp;token=94ced64f-b5ba-4205-bead-b867dc64d6d6" alt=""><figcaption></figcaption></figure>
