This commit is contained in:
2019-01-30 00:51:24 -06:00
parent b59ca2a986
commit 75971d8fd7
6 changed files with 15 additions and 12 deletions

View File

@@ -19,14 +19,15 @@ echo -e "${idsCL[LightGreen]}MySQL-BU Installation Script${idsCL[Default]}"
do_with_root $APTFUNC -y install wget curl git mariadb-backup
do_with_root set -eu
do_with_root git clone https://git.schroedercity.com/voltron/MySQL-BU.git /opt/idssys/mysqlbu
do_with_root mkdir /opt/idssys/settings
do_with_root git clon https://git.schroedercity.com/voltron/MySQL-BU.git /opt/idssys/mysqlbu
do_with_root ln -s /opt/idssys/mysqlbu/run.sh /usr/local/bin/mysqlbu
echo -e "BACKUP_PATH='/var/lib/mysql-backups/'
MYSQLUSER='root'
MYSQLPASS='Dc\$@54115'
MYSQLUSER=''
MYSQLPASS=''
MYSQLCFG='/etc/mysql/my.cnf'
BACKUPSTOKEEP=3
" > /opt/idssys/mysqlbu/settings.conf
" > /opt/idssys/settings/mysqlbu.conf
if [ ! -d "/opt/idssys/defaults" ]; then
do_with_root set -eu