/[smecontribs]/rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup-3.0.RC6-Update-MySQL-Init-for-Mariadb.patch
ViewVC logotype

Diff of /rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup-3.0.RC6-Update-MySQL-Init-for-Mariadb.patch

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

Revision 1.1 by brianr, Thu Jan 28 13:49:22 2021 UTC Revision 1.2 by brianr, Thu Jan 28 14:22:52 2021 UTC
# Line 77  diff -urN smeserver-automysqlbackup-3.0. Line 77  diff -urN smeserver-automysqlbackup-3.0.
77   my $myauto = ${'automysqlbackup'}{'Mymaria'} || 'enabled';   my $myauto = ${'automysqlbackup'}{'Mymaria'} || 'enabled';
78   our $status =  ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';   our $status =  ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' : 'disabled';
79    
80    diff -urN smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mymaria.conf/20db smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria.conf/20db
81    --- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/automysqlbackup/mymaria.conf/20db      2021-01-26 15:20:46.062189706 +0000
82    +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria.conf/20db  2021-01-28 12:21:23.087965937 +0000
83    @@ -5,7 +5,7 @@
84     CONFIG_backup_dir=${BACKUPDIR}_mymaria
85     CONFIG_mysql_dump_full_schema='no'
86     CONFIG_db_exclude=( 'performance_schema' 'sys' )
87    -CONFIG_mysql_dump_socket='/var/lib/mysql/mariadb55.sock'
88    +CONFIG_mysql_dump_socket='/var/lib/mysql/mysql.sock'
89     # End
90     _EOF
91     }
92    diff -urN smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/cron.d/runmysqlbackup/10base smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/cron.d/runmysqlbackup/10base
93    --- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/cron.d/runmysqlbackup/10base   2021-01-26 15:20:46.064189724 +0000
94    +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/cron.d/runmysqlbackup/10base       2021-01-28 12:07:01.492664756 +0000
95    @@ -5,10 +5,10 @@
96     $my55 = ( ( ( ${'automysqlbackup'}{'Mysql55'} || 'enabled' ) eq "enabled" )  and ( $my55 eq "enabled" ) ) ? "enabled" : "disabled";
97     my $my57 = ${'mysql57-mysqld'}{'status'} || 'disabled';
98     $my57 = ( ( ( ${'automysqlbackup'}{'Mysql57'} || 'enabled' ) eq "enabled" )  and ( $my57 eq "enabled" ) ) ? "enabled" : "disabled";
99    -my $mymaria = ${'mariadb55-mysqld'}{'status'} || 'disabled';
100    +my $mymaria = ${'mariadb'}{'status'} || 'disabled';
101     $mymaria =  ( ( ( ${'automysqlbackup'}{'Mymaria'} || 'enabled' ) eq "enabled" )  and ( $mymaria eq "enabled") ) ? "enabled" : "disabled";
102    
103    -return '' unless $my51 eq 'enabled';
104    +#return '' unless $my51 eq 'enabled';
105     my $minutes= ${'automysqlbackup'}{'Minute'}||'1';
106     my $hours= ${'automysqlbackup'}{'Hour'}||'3';
107     $OUT = "$minutes $hours * * * root ";
108  diff -urN smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup  diff -urN smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup
109  --- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup       2021-01-26 15:20:46.065189734 +0000  --- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup       2021-01-26 15:20:46.065189734 +0000
110  +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup   2021-01-26 16:38:28.466035572 +0000  +++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup   2021-01-26 16:38:28.466035572 +0000


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