mysql: enable backups
This commit is contained in:
parent
e70b57490e
commit
e198002d60
|
@ -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"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue