From d9995c776ca5276ab10e15551c9b345525252743 Mon Sep 17 00:00:00 2001 From: Harold Paulson Date: Thu, 8 Oct 2020 14:53:33 -0700 Subject: [PATCH] add readme. chmod .my.cnf --- README.md | 17 +++++++++++++++++ install.sh | 1 + 2 files changed, 18 insertions(+) create mode 100644 README.md 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