MySQL Usage


We use MySQL(actually MariaDB) for a few third party applications. Mostly due to them not supporting Postgres. This DB server is currently on ord0.cloud.votesmart.org.

Applications that currently use MariaDB:

Backups


Backups are currently run using a plain old nightly mysqldump. They're being run by local user root. The MySQL user is backup, which only has read permissions and the credentials are stored in /root/.my.cnf since it's more secure than a crontab.

mysqldump --single-transaction --routines --events --triggers --add-drop-table --extended-insert -u backup -h 127.0.0.1 --all-databases | gzip -9 > /var/data/mysql/mysql-daily.dump.gz


Random Notes



CategoryITDoc


There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki