From 1b705f0cc9c6228f5dc68c77ead99048a8518a07 Mon Sep 17 00:00:00 2001 From: LightningHelper <35897350+LightningHelper@users.noreply.github.com> Date: Wed, 18 Aug 2021 00:24:19 -0400 Subject: [PATCH] missing --lightning-dir It seems that the plugin require `--lightning-dir` , using without `--lightning-dir` result with an error. --- doc/BACKUP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/BACKUP.md b/doc/BACKUP.md index b1a60ad73..129251c9d 100644 --- a/doc/BACKUP.md +++ b/doc/BACKUP.md @@ -97,7 +97,7 @@ The `backup` plugin requires Python 3. * Ideally you have an NFS or other network-based mount on your system, into which you will put the backup. * Stop your Lightning node. -* `/path/to/backup-cli init ${LIGHTNINGDIR} file:///path/to/nfs/mount`. +* `/path/to/backup-cli init --lightning-dir ${LIGHTNINGDIR} file:///path/to/nfs/mount`. This creates an initial copy of the database at the NFS mount. * Add these settings to your `lightningd` configuration: * `important-plugin=/path/to/backup.py`