add readme. chmod .my.cnf
parent
76818f9c1e
commit
d9995c776c
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue