WIP: leonard: add backup.nix, mysqlBackup

This commit is contained in:
2026-01-26 00:15:44 +01:00
parent 97b7cb8e53
commit f8ca64ee28
6 changed files with 105 additions and 1 deletions

View File

@@ -6,5 +6,8 @@
package = pkgs.mariadb;
};
# TODO: services.mysqlBackup
services.mysqlBackup = {
enable = true;
calendar = "00:30:00";
};
}

View File

@@ -20,6 +20,9 @@
};
}
];
services.mysqlBackup.databases = [
"www_kinealbrigtsen_no"
];
services.phpfpm.pools.www-kinealbrigtsen-no = {
user = "www-kinealbrigtsen-no";