add readme. chmod .my.cnf

master
Harold Paulson 2020-10-08 14:53:33 -07:00
parent 76818f9c1e
commit d9995c776c
2 changed files with 18 additions and 0 deletions

17
README.md Normal file
View File

@ -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

View File

@ -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