> 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="/files/k0OtIv2o4u8jL0XtdiJT" alt=""><figcaption></figcaption></figure>
