smilelikeshit / simple-go-mysql-backup

simple backup database mysql using golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple-go-mysql-backup

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

About

simple backup database mysql using golang


Languages

Language:Go 100.0%