fix(backup): correct backup paths and add missing services
- Replace stale /var/lib/bitwarden_rs with /var/lib/vaultwarden (correct DB path) - Add /var/lib/private/AdGuardHome (DNS config, filters, query logs) - Add /var/lib/sops-nix (age decryption key — critical for secret recovery) - Add /var/lib/crowdsec (security engine state and decisions) - Keep /var/backup/vaultwarden (built-in sqlite backup snapshots) Note: Forgejo data path is still added dynamically by the forgejo module. Note: OpenClaw Podman volume needs separate handling (named volume path on host).
This commit is contained in:
parent
88905eb4e4
commit
9a0900c81a
1 changed files with 7 additions and 1 deletions
|
|
@ -175,6 +175,12 @@
|
|||
myModules.backup = {
|
||||
enable = true;
|
||||
repository = "b2:nixos-vps-backup2";
|
||||
paths = [ "/var/lib/bitwarden_rs" "/var/backup/vaultwarden" ];
|
||||
paths = [
|
||||
"/var/lib/vaultwarden" # Vaultwarden SQLite DB and attachments
|
||||
"/var/backup/vaultwarden" # Vaultwarden built-in backup snapshots
|
||||
"/var/lib/private/AdGuardHome" # AdGuard Home config, filters, query logs
|
||||
"/var/lib/sops-nix" # SOPS age key (critical — decrypts all secrets)
|
||||
"/var/lib/crowdsec" # CrowdSec state, decisions, custom parsers
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue