Adds LNbits Borg backup module

Implements a new module for backing up LNbits data using Borg.

This module automates hourly backups, encrypts the data, and provides point-in-time recovery. It includes scripts for listing, restoring, and mounting backups. A comprehensive setup guide is provided in the documentation.

The configuration allows specifying the Borg repository location, schedule, compression settings, retention policy, and SSH key for secure access.
This commit is contained in:
padreug 2025-10-26 01:21:48 +02:00
parent 253890ac16
commit 17ac393c32
4 changed files with 1031 additions and 0 deletions

View file

@ -16,6 +16,10 @@ in
# Import boot configuration (bootloader settings)
./boot.nix
# BORG backup
# read docs/lnbits-borg-backup-guide.md
# ./borg-lnbits.nix
# Import any machine-specific services
# Comment out or remove if not needed
# ./example-service.nix