diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-03-09 01:13:47 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-03-09 01:13:47 +0100 |
commit | ef909e2435194af725f4338a13e4732328ef7361 (patch) | |
tree | edea0c466a7ad3ef083cfa1e57cd4fdf79081ab8 /modules/private/databases | |
parent | 85ad771e2635a544461f0a340f8b8c7126688678 (diff) | |
download | Nix-ef909e2435194af725f4338a13e4732328ef7361.tar.gz Nix-ef909e2435194af725f4338a13e4732328ef7361.tar.zst Nix-ef909e2435194af725f4338a13e4732328ef7361.zip |
Adjust sql parameters
This commit makes several changes:
- One of the mysql databases is not dumped anymore
- Monitoring now checks that mysql is actually replicating
- Databases are migrated to ssd
Diffstat (limited to 'modules/private/databases')
-rw-r--r-- | modules/private/databases/mariadb_replication.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/private/databases/mariadb_replication.nix b/modules/private/databases/mariadb_replication.nix index ae54265..5a5a8b0 100644 --- a/modules/private/databases/mariadb_replication.nix +++ b/modules/private/databases/mariadb_replication.nix | |||
@@ -145,6 +145,7 @@ in | |||
145 | --gtid \ | 145 | --gtid \ |
146 | --master-data \ | 146 | --master-data \ |
147 | --flush-privileges \ | 147 | --flush-privileges \ |
148 | --ignore-database=netdata \ | ||
148 | --all-databases > $filename | 149 | --all-databases > $filename |
149 | ${pkgs.gzip}/bin/gzip $filename | 150 | ${pkgs.gzip}/bin/gzip $filename |
150 | ''; | 151 | ''; |