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
This commit is contained in:
LightningHelper
2021-08-17 23:10:44 -04:00
committed by Christian Decker
parent 44cf6ecaea
commit bfd80ada80

View File

@@ -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 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 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 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 ```bash
./backup-cli init --lightning-dir ~/.lightning/bitcoin file:///mnt/external/location/file.bkp ./backup-cli init --lightning-dir ~/.lightning/bitcoin file:///mnt/external/location/file.bkp