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 |
+ |
+ |
46 |
+if ($status eq 'enabled') { |
+if ($status eq 'enabled') { |
47 |
+$OUT .= <<'_EOF'; |
+$OUT .= <<'_EOF'; |
48 |
+# DB Specific |
+# DB Specific |
49 |
+CONFIG_backup_dir=${BACKUPDIR}_mymaria |
+CONFIG_backup_dir=${BACKUPDIR}_mymaria_101 |
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 |
+} |
+} |
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 |
+ |
+ |
104 |
+if ($status eq 'enabled') { |
+if ($status eq 'enabled') { |
105 |
+$OUT .= <<'_EOF'; |
+$OUT .= <<'_EOF'; |
106 |
+# DB Specific |
+# DB Specific |
107 |
+CONFIG_backup_dir=${BACKUPDIR}_mymaria |
+CONFIG_backup_dir=${BACKUPDIR}_mymaria_102 |
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 |
+} |
+} |
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 |
+ |
+ |
162 |
+if ($status eq 'enabled') { |
+if ($status eq 'enabled') { |
163 |
+$OUT .= <<'_EOF'; |
+$OUT .= <<'_EOF'; |
164 |
+# DB Specific |
+# DB Specific |
165 |
+CONFIG_backup_dir=${BACKUPDIR}_mymaria |
+CONFIG_backup_dir=${BACKUPDIR}_mymaria_103 |
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 |
+} |
+} |
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 |
+ |
+ |
220 |
+if ($status eq 'enabled') { |
+if ($status eq 'enabled') { |
221 |
+$OUT .= <<'_EOF'; |
+$OUT .= <<'_EOF'; |
222 |
+# DB Specific |
+# DB Specific |
223 |
+CONFIG_backup_dir=${BACKUPDIR}_mymaria |
+CONFIG_backup_dir=${BACKUPDIR}_mymaria_105 |
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 |
+} |
+} |