Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: backup command to backup secrets and LN recovery files #549

Open
0xB10C opened this issue Sep 12, 2022 · 0 comments
Open

feature: backup command to backup secrets and LN recovery files #549

0xB10C opened this issue Sep 12, 2022 · 0 comments

Comments

@0xB10C
Copy link
Contributor

0xB10C commented Sep 12, 2022

Some secrets and important recovery files, like e.g. CLNs hsm_secret and emergency.recover, aren't generated and managed by generateSecrets. A user needs to back these up manually.

It would be good to have a backup command similar to the deploy command in the nix-shell. This would copy existing secrets from the node to the host. This command can be mentioned in the documentation and in the example configuration.nix next to e.g. services.clightning.enable = true;. Also, an automatic backup step run after deploy is a possibility. Would be good if it could reuse the krops target to connect to the node, if possible.

relevant files:

  • Core LN:
    • emergency.recover
    • hsm_secret
  • LND:
    • Static Channel Backups
  • ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant