borgstor: add /var/log for testing

This commit is contained in:
Motiejus Jakštys 2023-09-11 17:40:47 +03:00
parent a522300158
commit d1a7aebfc9

View File

@ -66,6 +66,8 @@
]; ];
backup_at = "*-*-* 00:01:00"; backup_at = "*-*-* 00:01:00";
} }
# TODO: merge the two below
{ {
mountpoint = "/var/log"; mountpoint = "/var/log";
repo = "zh2769@zh2769.rsync.net:${config.networking.hostName}.${config.networking.domain}-var_log"; repo = "zh2769@zh2769.rsync.net:${config.networking.hostName}.${config.networking.domain}-var_log";
@ -76,6 +78,18 @@
]; ];
backup_at = "*-*-* 00:01:00"; backup_at = "*-*-* 00:01:00";
} }
{
mountpoint = "/var/log";
repo = "borgstor@${myData.hosts."vno1-rp3b.servers.jakst".jakstIP}:${config.networking.hostName}.${config.networking.domain}-var_log";
paths = ["/var/log/.snapshot-latest/caddy/"];
patterns = [
"+ /var/log/.snapshot-latest/caddy/access-jakstys.lt.log-*.zst"
"- *"
];
backup_at = "*-*-* 00:02:00";
}
# /TODO
{ {
mountpoint = "/home"; mountpoint = "/home";
repo = "zh2769@zh2769.rsync.net:${config.networking.hostName}.${config.networking.domain}-home-motiejus-annex2"; repo = "zh2769@zh2769.rsync.net:${config.networking.hostName}.${config.networking.domain}-home-motiejus-annex2";