Parent Directory | Revision Log | Revision Graph
* Wed Mar 20 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme - Use --single-transaction in mysql-dump-tables [SME: 7497]
1 | wellsi | 1.1 | diff -up e-smith-mysql-2.4.0/root/etc/e-smith/events/actions/mysql-dump-tables.preBackup e-smith-mysql-2.4.0/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.preBackup 2013-03-20 17:05:10.000000000 -0700 | ||
3 | +++ e-smith-mysql-2.4.0/root/etc/e-smith/events/actions/mysql-dump-tables 2008-10-06 07:29:16.000000000 -0700 | ||
4 | @@ -8,5 +8,5 @@ then | ||
5 | fi | ||
6 | for db in $(mysql -BNre "show databases;") | ||
7 | do | ||
8 | - mysqldump --add-drop-table -QB "$db" -r /home/e-smith/db/mysql/"$db".dump || exit 1 | ||
9 | + mysqldump --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 |