feat(servers): add automatic backups using restic.

This commit is contained in:
CronyAkatsuki 2025-06-24 18:07:43 +02:00
parent 1eab73b20a
commit e6d21b8850
13 changed files with 74 additions and 2 deletions

View file

@ -25,4 +25,14 @@
entrypoints = "websecure";
};
};
services.postgresqlBackup = {
enable = true;
databases = ["miniflux"];
};
services.restic.backups = {
local.paths = ["/var/backup/postgresql"];
server.paths = ["/var/backup/postgresql"];
};
}

View file

@ -26,4 +26,9 @@
entrypoints = "websecure";
};
};
services.restic.backups = {
local.paths = ["/var/lib/syncyomi"];
server.paths = ["/var/lib/syncyomi"];
};
}

View file

@ -54,4 +54,9 @@
entrypoints = "websecure";
};
};
services.restic.backups = {
local.paths = ["/var/lib/upfast"];
server.paths = ["/var/lib/upfast"];
};
}

View file

@ -30,4 +30,9 @@
entrypoints = "websecure";
};
};
services.restic.backups = {
local.paths = ["/var/lib/wallabag"];
server.paths = ["/var/lib/wallabag"];
};
}