remove install of dbbzckup apts
This commit is contained in:
@@ -9,12 +9,14 @@ echo ""
|
|||||||
echo -e "${idsCL[LightGreen]}MySQL-BU Installation Script${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}MySQL-BU Installation Script${idsCL[Default]}"
|
||||||
|
|
||||||
#cd /tmp
|
#cd /tmp
|
||||||
|
|
||||||
#wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb
|
#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 dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb
|
||||||
#do_with_root percona-release enable-only tools release
|
#do_with_root percona-release enable-only tools release
|
||||||
#do_with_root $APTFUNC update
|
#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
|
do_with_root set -eu
|
||||||
if [ ! -d "/opt/idssys/settings" ]; then
|
if [ ! -d "/opt/idssys/settings" ]; then
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ fi
|
|||||||
echo ""
|
echo ""
|
||||||
echo -e "${idsCL[LightGreen]}MySQL-BU Removal Script${idsCL[Default]}"
|
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
|
do_with_root set -eu
|
||||||
rm -f /usr/local/bin/mysqlbu
|
rm -f /usr/local/bin/mysqlbu
|
||||||
|
|||||||
Reference in New Issue
Block a user