ensure immich gets backed up
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user