docs: update backup install instructions
What changed, and why it matters
This commit only updates the beginner's guide documentation for installing a backup plugin. It replaces instructions to use pip3 with instructions to use a newer Python tool called uv. There are no code changes and no security issue is described.
No security action needed. Treat as routine documentation maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies doc/beginners-guide/backup-and-recovery/advanced-db-backup.md. It updates installation instructions for the lightningd/plugins backup plugin, changing the dependency setup from ‘pip3 install -r requirements.txt’ to using ‘uv’. No source code, configuration defaults, cryptographic logic, or access controls are changed.
Changed components
doc/beginners-guide/backup-and-recovery/advanced-db-backup.mdInspect captured patch +2 / −5
diff --git a/doc/beginners-guide/backup-and-recovery/advanced-db-backup.md b/doc/beginners-guide/backup-and-recovery/advanced-db-backup.md
index d7656515..ed4b742f 100644
--- a/doc/beginners-guide/backup-and-recovery/advanced-db-backup.md
+++ b/doc/beginners-guide/backup-and-recovery/advanced-db-backup.md
@@ -84,13 +84,10 @@ However, if instead you are just replicating the database on another storage dev
You can find the full source for the `backup` plugin here:
https://github.com/lightningd/plugins/tree/master/backup
-The `backup` plugin requires Python 3.
+The `backup` plugin requires Python 3 and [uv](https://docs.astral.sh/uv/getting-started/installation/).
- Download the source for the plugin.
- `git clone https://github.com/lightningd/plugins.git`
-- `cd` into its directory and install requirements.
- - `cd plugins/backup`
- - `pip3 install -r requirements.txt`
- Figure out where you will put the backup files.
- Ideally you have an NFS or other network-based mount on your system, into which you will put the backup.
- Stop your Lightning node.
@@ -112,7 +109,7 @@ Alternately, you _could_ put it in another storage device (e.g. USB flash disk)
To recover:
-- Re-download the `backup` plugin and install Python 3 and the requirements of `backup`.
+- Re-download the `backup` plugin and install Python 3 and [uv](https://docs.astral.sh/uv/getting-started/installation/).
- `/path/to/backup-cli restore file:///path/to/nfs/mount ${LIGHTNINGDIR}`
If your backup destination is a network-mounted filesystem that is in a remote location, then even loss of all hardware in one location will allow you to still recover your Lightning funds.
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.