1 |
diff -ruN 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 |
2 |
--- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/cron.d/runmysqlbackup/10base 2022-08-11 16:02:26.701411082 +0100 |
3 |
+++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/cron.d/runmysqlbackup/10base 2022-08-11 16:03:37.260583733 +0100 |
4 |
@@ -20,12 +20,12 @@ |
5 |
my $hours= ${'automysqlbackup'}{'Hour'}||'3'; |
6 |
$OUT = "$minutes $hours * * * root "; |
7 |
|
8 |
-$OUT .= "/sbin/e-smith/runmysqlbackup /etc/automysqlbackup/mymaria.conf '_mymaria' > /dev/null ; " if $mymaria eq "enabled"; |
9 |
-$OUT .= "/sbin/e-smith/runmysqlbackup /etc/automysqlbackup/mysql57.conf '_mysql57' > /dev/null ; " if $my57 eq "enabled"; |
10 |
-$OUT .= "/sbin/e-smith/runmysqlbackup /etc/automysqlbackup/mymaria101.conf '_mymaria_101' > /dev/null ; " if $my101 eq "enabled"; |
11 |
-$OUT .= "/sbin/e-smith/runmysqlbackup /etc/automysqlbackup/mymaria102.conf '_mymaria_102' > /dev/null ; " if $my102 eq "enabled"; |
12 |
-$OUT .= "/sbin/e-smith/runmysqlbackup /etc/automysqlbackup/mymaria103.conf '_mymaria_103' > /dev/null ; " if $my103 eq "enabled"; |
13 |
-$OUT .= "/sbin/e-smith/runmysqlbackup /etc/automysqlbackup/mymaria105.conf '_mymaria_105' > /dev/null ; " if $my105 eq "enabled"; |
14 |
+$OUT .= "/sbin/e-smith/runmysqlbackup -bc /etc/automysqlbackup/mymaria.conf > /dev/null ; " if $mymaria eq "enabled"; |
15 |
+$OUT .= "/sbin/e-smith/runmysqlbackup -bc /etc/automysqlbackup/mysql57.conf > /dev/null ; " if $my57 eq "enabled"; |
16 |
+$OUT .= "/sbin/e-smith/runmysqlbackup -bc /etc/automysqlbackup/mymaria101.conf > /dev/null ; " if $my101 eq "enabled"; |
17 |
+$OUT .= "/sbin/e-smith/runmysqlbackup -bc /etc/automysqlbackup/mymaria102.conf > /dev/null ; " if $my102 eq "enabled"; |
18 |
+$OUT .= "/sbin/e-smith/runmysqlbackup -bc /etc/automysqlbackup/mymaria103.conf > /dev/null ; " if $my103 eq "enabled"; |
19 |
+$OUT .= "/sbin/e-smith/runmysqlbackup -bc /etc/automysqlbackup/mymaria105.conf > /dev/null ; " if $my105 eq "enabled"; |
20 |
|
21 |
$OUT .= "\n"; |
22 |
|
23 |
diff -ruN smeserver-automysqlbackup-3.0.RC6.old/root/sbin/e-smith/runmysqlbackup smeserver-automysqlbackup-3.0.RC6/root/sbin/e-smith/runmysqlbackup |
24 |
--- smeserver-automysqlbackup-3.0.RC6.old/root/sbin/e-smith/runmysqlbackup 2022-08-11 16:02:26.708411198 +0100 |
25 |
+++ smeserver-automysqlbackup-3.0.RC6/root/sbin/e-smith/runmysqlbackup 2022-08-11 16:02:46.003731874 +0100 |
26 |
@@ -1,6 +1,6 @@ |
27 |
#!/bin/bash |
28 |
|
29 |
-/usr/local/bin/automysqlbackup $1 >/dev/null |
30 |
+/usr/local/bin/automysqlbackup $1 $2 >/dev/null |
31 |
|
32 |
DB=$(/sbin/e-smith/db configuration getprop automysqlbackup Backupdir) |
33 |
|