Skip to content

ConradMoeller/simple-mysql-dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simple-mysql-dump

An simple container that uses the mysql client and crond to create a database dump.

These environment variable must be set:

  • CRON: cron when to run backup
  • MYSQL_HOST: database host ip or name
  • MYSQL_USER: database user used to connect
  • MYSQL_PASSWORD: password
  • MYSQL_DATABASE: the database to backup

Add a volume that points to /usr/local/bin/backup inside the container.

See docker-compose for a sample.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published