Backup for MySQL/MariaDB containers with minimal configuration
10K+
This Docker image contains an installation of XtraBackup that can be used to create backups of MySQL and MariaDB containers with minimal configuration.
Create a MariaDB container to backup first:
docker run -d --name my-database \
-e MYSQL_ROOT_PASSWORD=test \
-e MYSQL_USER=test \
-e MYSQL_PASSWORD=test \
-e MYSQL_DATABASE=test mariadb:latest
Now start the xtrabackup container. You can mount a directory into the container's /target directory.
docker run --volumes-from my-database -v /var/backups/mysql:/target --rm martinhelmich/xtrabackup
Content type
Image
Digest
sha256:9702a774f…
Size
71.5 MB
Last updated
about 7 years ago
docker pull martinhelmich/xtrabackup