Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

MySQL Docker Image

Import/Export

An import and export utility are present in this image. Example usage:

Export

docker run -v /backup/path/on-host:/backups -rm -link container-to-export:mysql x3tech/mariadb:10.0 /export

This will create a .sql.gz file in /backup/path/on-host with a
timestamped filename (See export.sh for the format) containing data from
container-to-export

Import

zcat /path/to/export/on/host.sql.gz | docker run -i -rm -link destination:mysql x3tech/mariadb:10.0 /import

This will import /path/to/export/on/host.sql.gz to destination-container

TODO

  • Figure out why echoing into the import doesn't give any output
  • Clean-up and improve test script
Docker Pull Command
Owner
x3tech
Source Repository

Comments (0)