ensure immich gets backed up

This commit is contained in:
2025-10-18 18:22:37 -05:00
parent 39336740e1
commit f72e067a4e

View File

@@ -45,7 +45,7 @@ in {
}; };
# mysql backups currently minecraft_recpro is the only thing using this # mysql backups currently minecraft_recpro is the only thing using this
services.mysqlBackup = lib.mkIf config.services.mysql.enable { services.mysqlBackup = lib.mkIf (config.services.mysql.ensureDatabases != []) {
enable = true; enable = true;
location = "/var/backup/mysql"; location = "/var/backup/mysql";
user = "root"; user = "root";