From 25eb8a80d86b3bb690c50d1a7043318284ac39c2 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 4 Mar 2019 00:44:24 -0600 Subject: [PATCH] remove install of dbbzckup apts --- install-mysqlbu.sh | 6 ++++-- uninstall-mysqlbu.sh | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/install-mysqlbu.sh b/install-mysqlbu.sh index 7bf399f..b8ca299 100755 --- a/install-mysqlbu.sh +++ b/install-mysqlbu.sh @@ -9,12 +9,14 @@ echo "" echo -e "${idsCL[LightGreen]}MySQL-BU Installation Script${idsCL[Default]}" #cd /tmp + #wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb #do_with_root dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb #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 diff --git a/uninstall-mysqlbu.sh b/uninstall-mysqlbu.sh index 63ad311..fd72ec5 100755 --- a/uninstall-mysqlbu.sh +++ b/uninstall-mysqlbu.sh @@ -11,7 +11,7 @@ fi echo "" echo -e "${idsCL[LightGreen]}MySQL-BU Removal Script${idsCL[Default]}" -apt remove --purge -y percona-xtrabackup* +#apt remove --purge -y percona-xtrabackup* do_with_root set -eu rm -f /usr/local/bin/mysqlbu