A CLN plugin that uploads the latest SCB to remote locations. Currently, it supports S3-compatible APIs and WebDAV. The plugin will upload the SCB on startup and when a channel is opened or closed.
Configuration is done through the backup.toml
file in the lightning directory. This path can be overridden with the backup-config-path
CLN config option.
Compiling the plugin requires Rust to be installed.
Alternatively, you can use make docker-build
to build a release binary in a Docker container (output in ./build/
directory).
By default, the plugin is compiled with S3 and WebDAV support:
cargo build --release
To compile only with S3 support:
cargo build --release --no-default-features --features s3
Or only with WebDAV support:
cargo build --release --no-default-features --features webdav