vno1-oh2: backup /home/motiejus/annex2

This commit is contained in:
2023-07-26 14:23:12 +03:00
parent bb5ae6d2f7
commit e1b1715a48
4 changed files with 35 additions and 5 deletions

View File

@@ -40,6 +40,20 @@
mountpoints = ["/home"];
};
zfsborg = {
enable = true;
passwordPath = config.age.secrets.borgbackup-password.path;
mountpoints = {
"/home" = {
repo = "zh2769@zh2769.rsync.net:${config.networking.hostName}.${config.networking.domain}-home-motiejus-annex2";
paths = [
"/home/.snapshot-latest/motiejus/annex2"
];
backup_at = "*-*-* 00:05:00";
};
};
};
unitstatus = {
enable = true;
email = "motiejus+alerts@jakstys.lt";