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

Backup/Restore Commands #31

Closed ajhodges closed 5 years ago

ajhodges commented 5 years ago

This PR adds hydra client backup and hydra client restore, two commands designed for validator sysadmins, to ensure that they can easily take backups of their validator's private keys.

The default backup directory is in the user's home directory (~/.hydra/{network-name}/). This command will not overwrite existing data on either the backup or restore step. To force an overwrite, -f can be passed to the command. TAKE GREAT CARE when using the restore command.