fix caddy backup paths

This commit is contained in:
Motiejus Jakštys 2023-01-31 08:32:51 -08:00
parent c99480b357
commit cf25ada8d2

View File

@ -39,9 +39,9 @@ let
var_log = { var_log = {
mountpoint = "/var/log"; mountpoint = "/var/log";
zfs_name = "rpool/nixos/var/log"; zfs_name = "rpool/nixos/var/log";
paths = [ "/var/log/.snapshot-latest/" ]; paths = [ "/var/log/.snapshot-latest/caddy/" ];
patterns = [ patterns = [
"+ caddy/access-beta.jakstys.lt.log-*.zst" "+ /var/log/.snapshot-latest/caddy/access-beta.jakstys.lt.log-*.zst"
"- *" "- *"
]; ];
backup_at = "*-*-* 00:10:00"; backup_at = "*-*-* 00:10:00";