Explicitly enable backups

This commit is contained in:
Sandro - 2023-11-11 04:27:22 +01:00
parent 3af388b5f0
commit 865a741401
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
4 changed files with 11 additions and 2 deletions

View File

@ -57,7 +57,10 @@ in
};
services = {
backup.paths = [ "/var/lib/prosody/" ];
backup = {
enable = true;
paths = [ "/var/lib/prosody/" ];
};
collectd.plugins.exec = ''
Exec "${config.services.collectd.user}" "${lib.getExe pkgs.ruby}" "${./prosody-stats.rb}"

View File

@ -11,6 +11,7 @@
services = {
backup = {
enable = true;
exclude = [ "/var/lib/mastodon/public-system/cache/" ];
paths = [ "/var/lib/mastodon/" ];
};

View File

@ -8,6 +8,8 @@
networking.hostName = "matemat";
services = {
backup.enable = true;
nginx = {
enable = true;
virtualHosts."matemat.hq.c3d2.de" = {

View File

@ -21,7 +21,10 @@
];
services = {
backup.paths = [ "/var/lib/matrix-synapse/" ];
backup = {
enable = true;
paths = [ "/var/lib/matrix-synapse/" ];
};
matrix-synapse = {
enable = true;