ShipChain / hydra

Centralized network management for decentralized networks -- helping organize and publish sidechain connection details
https://docs.shipchain.io/docs/validatorGuide.html
Apache License 2.0
8 stars 2 forks source link

Feature/ Backup keys to local file #27

Closed kevingduck closed 5 years ago

kevingduck commented 5 years ago

This feature enables simple backups from the command line of important files (network/chaindata/config/node_key.json and priv_validator.json) to the user's home directory.

Example: $ hydra client backup-nodekeys --name engine-testing -D

kevingduck commented 5 years ago

I'll go ahead and apply these changes to the restore branch as well.

kevingduck commented 5 years ago

I think I found a way to use the network name correctly to make the directories for the restored files. Updating now.

ajhodges commented 5 years ago

See above comments, and rebase from master