feat: general backup module for rsyncd

This commit is contained in:
nydragon 2025-03-12 12:45:51 +01:00
parent 864ee129b0
commit c46c1c580d
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE
2 changed files with 17 additions and 3 deletions

View file

@ -31,8 +31,8 @@
mode = "write";
}
{
name = "brontes-backup";
comment = "brontes's backup space";
name = "shan";
comment = "backups for shan";
mode = "write";
}
{

View file

@ -89,6 +89,21 @@
rsync-backup = {
enable = true;
modules = [
{
sources = [
"/var/lib/paperless"
"/var/lib/radicale"
"/var/lib/navidrome"
"/var/lib/immich"
"/var/lib/freshrss"
];
target = {
location = "shan";
type = "rsyncd";
host = "nihilus";
};
incremental.enable = true;
}
{
sources = [ "/var/lib/paperless" ];
target = {
@ -143,7 +158,6 @@
};
incremental.enable = true;
}
];
};
};