* Sat Apr 06 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme
- backup users priv, plugins, udfs, servers, stats, timezones [SME: 12591]
This commit is contained in:
parent
c8c2aa10bd
commit
8e8cdfd86f
@ -39,3 +39,15 @@ for db in $(mysql -BNre "show databases;"|egrep -vi "^information_schema$|^perfo
|
|||||||
do
|
do
|
||||||
mysqldump --ignore-table=mysql.event --single-transaction --add-drop-table -QB "$db" -r /home/e-smith/db/mysql/"$db".dump || onfailure $db
|
mysqldump --ignore-table=mysql.event --single-transaction --add-drop-table -QB "$db" -r /home/e-smith/db/mysql/"$db".dump || onfailure $db
|
||||||
done
|
done
|
||||||
|
# dump user privileges
|
||||||
|
mysqldump --system=users --insert-ignore > /home/e-smith/db/mysql/system-users-priv.dump
|
||||||
|
# dump plugins
|
||||||
|
mysqldump --system=plugins --insert-ignore > /home/e-smith/db/mysql/system-plugins.dump
|
||||||
|
# dump udfs
|
||||||
|
mysqldump --system=udfs --insert-ignore > /home/e-smith/db/mysql/system-udfs.dump
|
||||||
|
# dump servers
|
||||||
|
mysqldump --system=servers --insert-ignore > /home/e-smith/db/mysql/system-servers.dump
|
||||||
|
# dump stats
|
||||||
|
mysqldump --system=stats --insert-ignore > /home/e-smith/db/mysql/system-stats.dump
|
||||||
|
# dump timezones
|
||||||
|
mysqldump --system=timezones --insert-ignore > /home/e-smith/db/mysql/system-timezones.dump
|
||||||
|
@ -2,7 +2,7 @@ Summary: Koozali SME Server specific mysql configuration and templates.
|
|||||||
%define name smeserver-mysql
|
%define name smeserver-mysql
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
%define version 11.0.0
|
%define version 11.0.0
|
||||||
%define release 5
|
%define release 6
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
@ -66,6 +66,9 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Apr 06 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme
|
||||||
|
- backup users priv, plugins, udfs, servers, stats, timezones [SME: 12591]
|
||||||
|
|
||||||
* Fri Apr 05 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-5.sme
|
* Fri Apr 05 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-5.sme
|
||||||
- tidy spec and sources for mariadb10.5 support [SME: 12524]
|
- tidy spec and sources for mariadb10.5 support [SME: 12524]
|
||||||
- try to make compatible with higher version from mariadb repo [SME: 11856]
|
- try to make compatible with higher version from mariadb repo [SME: 11856]
|
||||||
|
Loading…
Reference in New Issue
Block a user