This website works better with JavaScript
Home
Explore
Help
Sign In
marcel
/
mariadb-backup
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Simple shell script to back-up MariaDB and MySQL databases from within a container
3
Commits
1
Branches
0
Releases
Branch:
master
Branches
Tags
master
mariadb-backup
HTTPS
ZIP
TAR.GZ
Marcel Stangenberger
e30f6bc290
Update 'README.md'
1 year ago
README.md
e30f6bc290
Update 'README.md'
1 year ago
backup.sh
6cf42a53e2
Add 'backup.sh'
1 year ago
README.md
Usage
Create a user with docker access rights
Mount filesystem "backup" to /mnt in the MySQL or MariaDB container
Create a cronjob on the docker host along the lines of: 00 0,12 * * * docker container exec /mnt/backup.sh