/[smecontribs]/rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup-3.0.RC6-bz11970.Add-Maria-10x-support.patch
ViewVC logotype

Diff of /rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup-3.0.RC6-bz11970.Add-Maria-10x-support.patch

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

Revision 1.1 by jcrisp, Mon May 9 15:08:15 2022 UTC Revision 1.2 by jcrisp, Tue May 31 14:44:08 2022 UTC
# Line 19  diff -ruN smeserver-automysqlbackup-3.0. Line 19  diff -ruN smeserver-automysqlbackup-3.0.
19  +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria101.conf/10start    2022-05-09 14:28:22.662198871 +0100  +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria101.conf/10start    2022-05-09 14:28:22.662198871 +0100
20  @@ -0,0 +1,20 @@  @@ -0,0 +1,20 @@
21  +{  +{
22  +my $mymaria = ${'mariadb101'}{'status'} || 'disabled';  +my $mymaria = ${'mariadb101-mariadb'}{'status'} || 'disabled';
23  +my $myauto = ${'automysqlbackup'}{'Mymaria101'} || 'enabled';  +my $myauto = ${'automysqlbackup'}{'Mymaria101'} || 'enabled';
24  +our $status =  ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';  +our $status =  ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';
25  +  +
# Line 49  diff -ruN smeserver-automysqlbackup-3.0. Line 49  diff -ruN smeserver-automysqlbackup-3.0.
49  +CONFIG_backup_dir=${BACKUPDIR}_mymaria  +CONFIG_backup_dir=${BACKUPDIR}_mymaria
50  +CONFIG_mysql_dump_full_schema='no'  +CONFIG_mysql_dump_full_schema='no'
51  +CONFIG_db_exclude=( 'performance_schema' 'information_schema' 'sys' )  +CONFIG_db_exclude=( 'performance_schema' 'information_schema' 'sys' )
52  +CONFIG_mysql_dump_socket='/var/lib/mysql/mysql.sock'  +CONFIG_mysql_dump_socket='/var/lib/mysql/mariadb101.sock'
53  +# End  +# End
54  +_EOF  +_EOF
55  +}  +}
# Line 77  diff -ruN smeserver-automysqlbackup-3.0. Line 77  diff -ruN smeserver-automysqlbackup-3.0.
77  +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria102.conf/10start    2022-05-09 14:29:20.750155084 +0100  +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria102.conf/10start    2022-05-09 14:29:20.750155084 +0100
78  @@ -0,0 +1,20 @@  @@ -0,0 +1,20 @@
79  +{  +{
80  +my $mymaria = ${'mariadb102'}{'status'} || 'disabled';  +my $mymaria = ${'mariadb102-mariadb'}{'status'} || 'disabled';
81  +my $myauto = ${'automysqlbackup'}{'Mymaria102'} || 'enabled';  +my $myauto = ${'automysqlbackup'}{'Mymaria102'} || 'enabled';
82  +our $status =  ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';  +our $status =  ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';
83  +  +
# Line 107  diff -ruN smeserver-automysqlbackup-3.0. Line 107  diff -ruN smeserver-automysqlbackup-3.0.
107  +CONFIG_backup_dir=${BACKUPDIR}_mymaria  +CONFIG_backup_dir=${BACKUPDIR}_mymaria
108  +CONFIG_mysql_dump_full_schema='no'  +CONFIG_mysql_dump_full_schema='no'
109  +CONFIG_db_exclude=( 'performance_schema' 'information_schema' 'sys' )  +CONFIG_db_exclude=( 'performance_schema' 'information_schema' 'sys' )
110  +CONFIG_mysql_dump_socket='/var/lib/mysql/mysql.sock'  +CONFIG_mysql_dump_socket='/var/lib/mysql/mariadb102.sock'
111  +# End  +# End
112  +_EOF  +_EOF
113  +}  +}
# Line 135  diff -ruN smeserver-automysqlbackup-3.0. Line 135  diff -ruN smeserver-automysqlbackup-3.0.
135  +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria103.conf/10start    2022-05-09 14:29:37.342428217 +0100  +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria103.conf/10start    2022-05-09 14:29:37.342428217 +0100
136  @@ -0,0 +1,20 @@  @@ -0,0 +1,20 @@
137  +{  +{
138  +my $mymaria = ${'mariadb103'}{'status'} || 'disabled';  +my $mymaria = ${'mariadb103-mariadb'}{'status'} || 'disabled';
139  +my $myauto = ${'automysqlbackup'}{'Mymaria103'} || 'enabled';  +my $myauto = ${'automysqlbackup'}{'Mymaria103'} || 'enabled';
140  +our $status =  ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';  +our $status =  ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';
141  +  +
# Line 165  diff -ruN smeserver-automysqlbackup-3.0. Line 165  diff -ruN smeserver-automysqlbackup-3.0.
165  +CONFIG_backup_dir=${BACKUPDIR}_mymaria  +CONFIG_backup_dir=${BACKUPDIR}_mymaria
166  +CONFIG_mysql_dump_full_schema='no'  +CONFIG_mysql_dump_full_schema='no'
167  +CONFIG_db_exclude=( 'performance_schema' 'information_schema' 'sys' )  +CONFIG_db_exclude=( 'performance_schema' 'information_schema' 'sys' )
168  +CONFIG_mysql_dump_socket='/var/lib/mysql/mysql.sock'  +CONFIG_mysql_dump_socket='/var/lib/mysql/mariadb103.sock'
169  +# End  +# End
170  +_EOF  +_EOF
171  +}  +}
# Line 193  diff -ruN smeserver-automysqlbackup-3.0. Line 193  diff -ruN smeserver-automysqlbackup-3.0.
193  +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria105.conf/10start    2022-05-09 14:29:56.013735574 +0100  +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria105.conf/10start    2022-05-09 14:29:56.013735574 +0100
194  @@ -0,0 +1,20 @@  @@ -0,0 +1,20 @@
195  +{  +{
196  +my $mymaria = ${'mariadb105'}{'status'} || 'disabled';  +my $mymaria = ${'mariadb105-mariadb'}{'status'} || 'disabled';
197  +my $myauto = ${'automysqlbackup'}{'Mymaria105'} || 'enabled';  +my $myauto = ${'automysqlbackup'}{'Mymaria105'} || 'enabled';
198  +our $status =  ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';  +our $status =  ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';
199  +  +
# Line 223  diff -ruN smeserver-automysqlbackup-3.0. Line 223  diff -ruN smeserver-automysqlbackup-3.0.
223  +CONFIG_backup_dir=${BACKUPDIR}_mymaria  +CONFIG_backup_dir=${BACKUPDIR}_mymaria
224  +CONFIG_mysql_dump_full_schema='no'  +CONFIG_mysql_dump_full_schema='no'
225  +CONFIG_db_exclude=( 'performance_schema' 'information_schema' 'sys' )  +CONFIG_db_exclude=( 'performance_schema' 'information_schema' 'sys' )
226  +CONFIG_mysql_dump_socket='/var/lib/mysql/mysql.sock'  +CONFIG_mysql_dump_socket='/var/lib/mysql/mariadb105.sock'
227  +# End  +# End
228  +_EOF  +_EOF
229  +}  +}


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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