Commit graph

6 commits

Author SHA1 Message Date
Kevin Fenzi
f136cfec2a mariadb: set single-transaction on backups
We are seeing the backups here cause the wiki to become unresponsive.
This might help it out and prevent it locking things while doing the
backups.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-01 08:02:12 -07:00
Kevin Fenzi
0e815134b7 mariadb: use pxz with 2 threads for backups
This has anoyingly been alerting of late, so lets try and
see if we can get the backup to finish faster and avoid the
alerts on it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-20 12:49:47 -08:00
Kevin Fenzi
e2523e235d mysqld backup: try adding ionice into things.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:11 +02:00
Kevin Fenzi
7fe5b0100e Setup mariadb backup to make a latest link, make nrpe on db03 check that for backup age. 2015-06-08 21:14:36 +00:00
Kevin Fenzi
140af2c7ac This has to have a --user=root in order to be able to access the dbs
It runs as mysql user, but root when connecting to the db.
2015-06-04 18:37:12 +00:00
Kevin Fenzi
ef817b7d0c Add backups for mariadb nightly like we do for postgres.
This allows us to back up /backups and get a good few days database
dumps on mariadb servers.
2015-06-04 17:29:16 +00:00