mysql: enable backups

This commit is contained in:
Rouven Seifert 2024-02-02 21:41:44 +01:00
parent e70b57490e
commit e198002d60
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -5,4 +5,16 @@
package = pkgs.mariadb; package = pkgs.mariadb;
settings.mysqld.bind_address = "127.0.0.1"; settings.mysqld.bind_address = "127.0.0.1";
}; };
services.mysqlBackup = {
enable = true;
user = "mysql";
location = "/var/lib/backup/mysql";
databases = [
"decisions"
"fsrewsp"
"nightline"
"wiki_ese"
"wiki_vernetzung"
];
};
} }