/[smecontribs]/rpms/smeserver-mysql57/contribs10/smeserver-mysql57-2.0.0-SME10202-prebackup.patch
ViewVC logotype

Annotation of /rpms/smeserver-mysql57/contribs10/smeserver-mysql57-2.0.0-SME10202-prebackup.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Feb 23 19:04:12 2022 UTC (2 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mysql57-2_0_0-13_el7_sme, smeserver-mysql57-2_0_0-15_el7_sme, smeserver-mysql57-2_0_0-14_el7_sme, HEAD
Initial import

1 jpp 1.1 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/events/actions/mysql57-dump-tables smeserver-mysql57-2.0.0/root/etc/e-smith/events/actions/mysql57-dump-tables
2     --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/events/actions/mysql57-dump-tables 2017-04-03 15:13:12.192000000 -0400
3     +++ smeserver-mysql57-2.0.0/root/etc/e-smith/events/actions/mysql57-dump-tables 2017-04-03 15:14:41.907000000 -0400
4     @@ -6,7 +6,7 @@
5     echo "mysql57-mysqld is disabled - no tables dumped" >&2
6     exit 0
7     fi
8     -for db in $(/opt/rh/rh-mysql57/root/usr/bin/mysql --socket=/var/lib/mysql/mysql57.sock -BNre "show databases;")
9     +for db in $(/opt/rh/rh-mysql57/root/usr/bin/mysql --socket=/var/lib/mysql/mysql57.sock -BNre "show databases;" | grep -vwE "(information_schema|performance_schema)")
10     do
11     /opt/rh/rh-mysql57/root/usr/bin/mysqldump --single-transaction --socket=/var/lib/mysql/mysql57.sock --add-drop-table -QB "$db" -r /home/e-smith/db/mysql57/"$db".dump || exit 1
12     done

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed