Skip to content

smilelikeshit/simple-go-mysql-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages