Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.78 KB

README.md

File metadata and controls

63 lines (41 loc) · 1.78 KB

tests project is maintained release

DDEV MyDumper

Overview

MyDumper is a MySQL Logical Backup Tool.

This add-on integrates MyDumper into your DDEV project.

Installation

To install this add-on, run:

ddev add-on get stasadev/ddev-mydumper
ddev restart

After installation, make sure to commit the .ddev directory to version control.

Usage

Command Description
ddev mydumper Backup export
ddev myloader Backup import

Examples:

ddev mydumper --help
ddev myloader --help

ddev mydumper --database=db --outputdir=dump
ddev myloader --database=db --directory=dump

For more detailed usage instructions, visit the MyDumper Wiki.

Advanced Customization

To change the Docker image used by MyDumper:

ddev dotenv set .ddev/.env.mydumper --mydumper-docker-image=mydumper/mydumper:latest
ddev add-on get stasadev/ddev-mydumper
ddev restart

Make sure to commit the .ddev/.env.mydumper file to version control.

All customization options (use with caution):

Variable Flag Default
MYDUMPER_DOCKER_IMAGE --mydumper-docker-image mydumper/mydumper:latest

Credits

Contributed and maintained by @stasadev