This commit is contained in:
2019-01-30 01:13:24 -06:00
parent 82fd6a8132
commit 7ddea325a5
3 changed files with 9 additions and 3 deletions

View File

@@ -17,7 +17,9 @@ do_with_root curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup |
do_with_root $APTFUNC -y install wget curl git mariadb-backup
do_with_root set -eu
do_with_root mkdir /opt/idssys/settings
if [ ! -d "/opt/idssys/settings" ]; then
do_with_root mkdir /opt/idssys/settings
fi
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/'