Update install-mysqlbu.sh
This commit is contained in:
6
install-mysqlbu.sh
Normal file → Executable file
6
install-mysqlbu.sh
Normal file → Executable file
@@ -24,14 +24,14 @@ echo -e "${CS[color,LightGreen]}MySQL-BU Installation Script${CS[color,Default]}
|
|||||||
do_with_root $APTFUNC -y install wget curl git
|
do_with_root $APTFUNC -y install wget curl git
|
||||||
|
|
||||||
do_with_root set -eu
|
do_with_root set -eu
|
||||||
do_with_root git clone https://git.schroedercity.com/voltron/MySQL-BU.git /opt/mysql-bu
|
do_with_root git clone https://git.schroedercity.com/voltron/MySQL-BU.git /opt/mysqlbu
|
||||||
do_with_root ln -s /opt/mysql-bu/run.sh /usr/local/bin/mysqlbu
|
do_with_root ln -s /opt/mysqlbu/run.sh /usr/local/bin/mysqlbu
|
||||||
echo -e "BACKUP_PATH='/var/lib/mysql-backups/'
|
echo -e "BACKUP_PATH='/var/lib/mysql-backups/'
|
||||||
MYSQLUSER='root'
|
MYSQLUSER='root'
|
||||||
MYSQLPASS='Dc$@54115'
|
MYSQLPASS='Dc$@54115'
|
||||||
MYSQLCFG='/etc/mysql/my.cnf'
|
MYSQLCFG='/etc/mysql/my.cnf'
|
||||||
BACKUPSTOKEEP=3
|
BACKUPSTOKEEP=3
|
||||||
" > /opt/mysql-bu/settings.conf
|
" > /opt/mysqlbu/settings.conf
|
||||||
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user