mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-23 16:14:20 +01:00
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:
committed by
Christian Decker
parent
44cf6ecaea
commit
bfd80ada80
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user