Difference between revisions of "Backup"
MiltonPusser (talk | contribs) (Changed redirect target from Keys to Keys and backups) Tag: Redirect target changed |
MiltonPusser (talk | contribs) (Removed redirect to Keys and backups) Tag: Removed redirect |
||
Line 1: | Line 1: | ||
{{ALERT|Reliable backups are being worked on at the moment}} | |||
Making backups is not easy. You can backup your [[Keys|key]], but to recover a disk failure (for example), you still need the channel state. | |||
The problem is that if you announce an old channel state (after you recovered a backup), this is detected as [[Fraud]] and you might lose your funds. | |||
= Poor mans solution= | |||
Probably just take your wallet-file... See [https://github.com/lightningnetwork/lnd/issues/732 github for more info]. | |||
= Hardware = | |||
If you’re putting a lot of money on your Lightning routing node, please use a reliable hard drives (with mirroring). | |||
= Data Loss Protection = | |||
[[Data loss protection]] | |||
= Channel information = | |||
== LND == | |||
For now, just backup the whole ~/.lnd directory. | |||
{{NOTE|There is work underway to make backup better in 6.0: https://github.com/lightningnetwork/lnd/pull/1364 }} | |||
= Commitment revocation private key = | |||
Every commitment transaction has a unique commitment revocation private-key value that allows the other peer to spend all outputs immediately: revealing this key is how old commitment transactions are revoked. To support revocation, each output of the commitment transaction refers to the commitment revocation public key. |
Revision as of 16:17, 27 February 2019
Making backups is not easy. You can backup your key, but to recover a disk failure (for example), you still need the channel state.
The problem is that if you announce an old channel state (after you recovered a backup), this is detected as Fraud and you might lose your funds.
Poor mans solution
Probably just take your wallet-file... See github for more info.
Hardware
If you’re putting a lot of money on your Lightning routing node, please use a reliable hard drives (with mirroring).
Data Loss Protection
Channel information
LND
For now, just backup the whole ~/.lnd directory.
Commitment revocation private key
Every commitment transaction has a unique commitment revocation private-key value that allows the other peer to spend all outputs immediately: revealing this key is how old commitment transactions are revoked. To support revocation, each output of the commitment transaction refers to the commitment revocation public key.