Parent Directory | Revision Log | Revision Graph
* Thu Jun 6 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme - Ignore mysql.event table [SME: 7603]
1 | diff -Nur e-smith-mysql-2.4.0/root/etc/e-smith/events/actions/mysql-dump-tables e-smith-mysql-2.4.0-ignore_event_table/root/etc/e-smith/events/actions/mysql-dump-tables |
2 | --- e-smith-mysql-2.4.0/root/etc/e-smith/events/actions/mysql-dump-tables 2013-06-06 19:04:40.533078211 +0200 |
3 | +++ e-smith-mysql-2.4.0-ignore_event_table/root/etc/e-smith/events/actions/mysql-dump-tables 2013-06-06 19:05:20.280695039 +0200 |
4 | @@ -8,5 +8,5 @@ |
5 | fi |
6 | for db in $(mysql -BNre "show databases;") |
7 | do |
8 | - mysqldump --single-transaction --add-drop-table -QB "$db" -r /home/e-smith/db/mysql/"$db".dump || exit 1 |
9 | + mysqldump --ignore-table=mysql.event --single-transaction --add-drop-table -QB "$db" -r /home/e-smith/db/mysql/"$db".dump || exit 1 |
10 | done |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |