mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-24 00:24:19 +01:00
clarify backup location to be a file
This commit is contained in:
@@ -19,11 +19,12 @@ pip3 install --user -r requirements.txt
|
|||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
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 a `backup.lock` in the lightning directory that stores the
|
command will create /mnt/external/location/file.sql as backup file and reference it
|
||||||
internal state, and which makes sure no instances are using the same backup.
|
in `backup.lock` in the lightning directory that stores the internal state, and
|
||||||
|
which makes sure no two instances are using the same backup.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./backup-cli init ~/.lightning/bitcoin file:///mnt/external/location
|
./backup-cli init ~/.lightning/bitcoin file:///mnt/external/location/file.sqlite
|
||||||
```
|
```
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
|||||||
Reference in New Issue
Block a user