diff --git a/README.md b/README.md new file mode 100644 index 0000000..dd66fe2 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +!mysqlbackup utility + +save nightly mysql database dumps + + +!!Install + + cd /tmp + fetch https://gitea.sierraweb.com/api/v1/repos/haroldp/mysqlbackup/archive/master.tar.gz + tar -zxvf master.tar.gz + cd mysqlbackup + rm -rf /tmp/mysqlbackup + + +!!To Do + +1. Expire old logs diff --git a/install.sh b/install.sh index 7cf59cd..a05df80 100755 --- a/install.sh +++ b/install.sh @@ -14,6 +14,7 @@ password=${MYSQL_PASS} user=root password=${MYSQL_PASS} EOF + chmod 600 /root/.my.cnf fi if [ ! -e /var/backup/mysql ]; then