LIGHTNING-GETEMERGENCYRECOVERDATA(7)
β¨ NAME β¨
getemergencyrecoverdata β the command to fetch data from the emergency.recover file. This whole page is LIGHTNING-GETEMERGENCYRECOVERDATA(7), and yes bestie, itβs giving βencrypted backup file inspectionβ main character energy. π
π SYNOPSIS π
getemergencyrecoverdata
π DESCRIPTION π
okay so first thing: Command added in v24.11. Not ancient lore, but also not brand-new baby territory. β¨
The getemergencyrecoverdata RPC command is used to fetch data from the emergency.recover file, which contains encrypted data. Thatβs the whole vibe: it reaches into that file and hands you the data. no cap. π«Ά
π RETURN VALUE π
On success, an object is returned, containing:
filedata(hex) β The raw, hex-encoded,emergency.recoverfile. Literally the file data, hex-encoded, raw, iconic. πcan_create_penalty(boolean) β Iffalse, you are using legacy file version, which can not create penalty transactions, kindly deleteemergency.recoverand restart the node! (added v26.06)backed_up_channel_ids(array of hashs) β added v26.06, and itβs the channel IDs situation:- (
hash, optional) β Channel IDs of channels backed up insideemergency.recover
- (
bestie, thatcan_create_penalty: falsewarning is not a cute little garnish. It means legacy file version, no penalty transactions from it, and the original says kindly deleteemergency.recoverand restart the node! Read it and weep. π
π¦ AUTHOR π¦
Aditya aditya.sharma20111@gmail.com is mainly responsible. Give them their flowers, fr fr. π
π SEE ALSO π
lightning-getsharedsecret(7) β go peek when youβre done, bestie. π
π RESOURCES π
Main web site: https://github.com/ElementsProject/lightning
π§ EXAMPLES π§
Example 1:
Request:
$ lightning-cli getemergencyrecoverdata
{
"id": "example:getemergencyrecoverdata#1",
"method": "getemergencyrecoverdata",
"params": {}
}
Response:
"emergencyrecoverdata01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101"
and thatβs the page, bestie! Footer check: Core Lightning v26.06.9 is the source/version chillinβ at the bottom, and LIGHTNING-GETEMERGENCYRECOVERDATA(7) repeats its iconic self there too. No separate date line was in the footer, so Iβm not inventing one β periodt. π
β¨
π¦ where this page comes from
- nixpkgs unstable: clightning 26.06.9
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms