This website works better with JavaScript
Startsida
Utforska
Hjälp
Logga in
marcel
/
mariadb-backup
Bevaka
1
Stjärnmärk
0
Fork
0
Filer
Ärenden
0
Pull-förfrågningar
0
Wiki
Simple shell script to back-up MariaDB and MySQL databases from within a container
3
Incheckningar
1
Brancher
0
Släpp
Gren:
master
Grenar
Taggar
master
mariadb-backup
HTTPS
ZIP
TAR.GZ
Marcel Stangenberger
e30f6bc290
Update 'README.md'
1 år sedan
README.md
e30f6bc290
Update 'README.md'
1 år sedan
backup.sh
6cf42a53e2
Add 'backup.sh'
1 år sedan
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