项目作者: smilelikeshit

项目描述 :
simple backup database mysql using golang
高级语言: Go
项目地址: git://github.com/smilelikeshit/simple-go-mysql-backup.git
创建时间: 2020-05-31T18:38:30Z
项目社区:https://github.com/smilelikeshit/simple-go-mysql-backup

开源协议:

下载


simple-go-mysql-backup

  1. cp .env.example .env

put your database credentials

  • DB_HOST=127.0.0.1
  • DB_PORT=3306
  • DB_NAME=xxx
  • DB_USERNAME=xxx
  • DB_PASSWORD=xxx
  1. docker-compose up -d

access your http://127.0.0.1:8000 for download file

  • keep your database file 30 days (for daily backup)
  • keep your database file 120 days (for weekly backup)

Free Software, Hell Yeah!