Update 'install-mysqlbu.sh'

This commit is contained in:
2022-03-22 20:29:42 -05:00
parent c828738017
commit b70421d60c

View File

@@ -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]}"