From b70421d60c63c85ef70005da738bf5726ed2b79c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 22 Mar 2022 20:29:42 -0500 Subject: [PATCH 1/2] Update 'install-mysqlbu.sh' --- install-mysqlbu.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install-mysqlbu.sh b/install-mysqlbu.sh index 53621eb..a803ca2 100755 --- a/install-mysqlbu.sh +++ b/install-mysqlbu.sh @@ -15,8 +15,8 @@ echo -e "${idsCL[LightGreen]}MySQL-BU Installation Script${idsCL[Default]}" #do_with_root percona-release enable-only tools release #do_with_root $APTFUNC update -#do_with_root curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -#do_with_root $APTFUNC -y install wget curl git mariadb-backup +do_with_root curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash +do_with_root $APTFUNC -y install wget curl git mariadb-backup do_with_root set -eu if [ ! -d "/opt/idssys/settings" ]; then @@ -39,6 +39,8 @@ if [ ! -d "/opt/idssys/defaults" ]; then do_with_root git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults fi +mkdir -p "/opt/idssys/backups/mysql-backups" + echo "" echo -e "${idsCL[Yellow]}MySQL-BU has been Installed${idsCL[Default]}" From 0ed859fb0c4d9cc354dae300beebd036dd3f79cd Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 22 Mar 2022 20:37:54 -0500 Subject: [PATCH 2/2] Update 'install-mysqlbu.sh' --- install-mysqlbu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-mysqlbu.sh b/install-mysqlbu.sh index a803ca2..1e81f79 100755 --- a/install-mysqlbu.sh +++ b/install-mysqlbu.sh @@ -15,7 +15,7 @@ echo -e "${idsCL[LightGreen]}MySQL-BU Installation Script${idsCL[Default]}" #do_with_root percona-release enable-only tools release #do_with_root $APTFUNC update -do_with_root curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash +#do_with_root curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash do_with_root $APTFUNC -y install wget curl git mariadb-backup do_with_root set -eu