From bfd80ada802044c6af225b64463f65e9dda9c543 Mon Sep 17 00:00:00 2001 From: LightningHelper <35897350+LightningHelper@users.noreply.github.com> Date: Tue, 17 Aug 2021 23:10:44 -0400 Subject: [PATCH] added instruction to stop the node before running the plugin As instructed here: https://github.com/ElementsProject/lightning/blob/master/doc/BACKUP.md#backup-plugin-and-remote-nfs-mount --- backup/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backup/README.md b/backup/README.md index 4f110cb..56f0eb8 100644 --- a/backup/README.md +++ b/backup/README.md @@ -22,7 +22,8 @@ pip3 install --user -r requirements.txt Before the backup plugin can be used it has to be initialized once. The following command will create /mnt/external/location/file.sql as backup file and reference it in `backup.lock` in the lightning directory that stores the internal state, and -which makes sure no two instances are using the same backup. +which makes sure no two instances are using the same backup. (Make sure to stop +your Lightning node before running this command) ```bash ./backup-cli init --lightning-dir ~/.lightning/bitcoin file:///mnt/external/location/file.bkp