1
- [ ![ tests] ( https://github.com/stasadev/ddev-mydumper/actions/workflows/tests.yml/badge.svg?event=schedule )] ( https://github.com/stasadev/ddev-mydumper/actions/workflows/tests.yml )
2
- ![ project is maintained] ( https://img.shields.io/maintenance/yes/2025.svg )
1
+ [ ![ tests] ( https://github.com/stasadev/ddev-mydumper/actions/workflows/tests.yml/badge.svg?branch=main )] ( https://github.com/stasadev/ddev-mydumper/actions/workflows/tests.yml?query=branch%3Amain )
2
+ [ ![ project is maintained] ( https://img.shields.io/maintenance/yes/2025.svg )] ( https://github.com/stasadev/ddev-mydumper/commits )
3
3
[ ![ release] ( https://img.shields.io/github/v/release/stasadev/ddev-mydumper )] ( https://github.com/stasadev/ddev-mydumper/releases/latest )
4
4
5
5
# DDEV MyDumper
@@ -25,36 +25,34 @@ After installation, make sure to commit the `.ddev` directory to version control
25
25
26
26
| Command | Description |
27
27
| ------- | ----------- |
28
- | ` ddev mydumper ` | Export a consistent backup . |
29
- | ` ddev myloader ` | Read the backup from ` ddev mydumper ` , connect the to destination database and import the backup . |
28
+ | ` ddev mydumper ` | Backup export . |
29
+ | ` ddev myloader ` | Backup import. |
30
30
31
31
Examples:
32
32
33
33
``` bash
34
34
ddev mydumper --help
35
35
ddev myloader --help
36
36
37
- ddev mydumper --clear --outputdir=dump
38
- ddev myloader --directory=dump
37
+ ddev mydumper --database=db --outputdir=dump
38
+ ddev myloader --database=db -- directory=dump
39
39
```
40
40
41
41
For more detailed usage instructions, visit the [ MyDumper Wiki] ( https://github.com/mydumper/mydumper/wiki ) .
42
42
43
43
## Advanced Customization
44
44
45
- You can customize MyDumper's configuration via [ mydumper.cnf] ( ./mydumper/mydumper.cnf ) .
46
-
47
45
To change the Docker image used by MyDumper:
48
46
49
47
``` bash
50
- ddev dotenv set .ddev/.env.mydumper --mydumper-docker-image mydumper/mydumper:latest
48
+ ddev dotenv set .ddev/.env.mydumper --mydumper-docker-image= mydumper/mydumper:latest
51
49
ddev add-on get stasadev/ddev-mydumper
52
50
ddev restart
53
51
```
54
52
55
- Make sure to also commit the ` .ddev/.env.mydumper ` file to version control.
53
+ Make sure to commit the ` .ddev/.env.mydumper ` file to version control.
56
54
57
- Customization options (use with caution):
55
+ All customization options (use with caution):
58
56
59
57
| Variable | Flag | Default |
60
58
| -------- | ---- | ------- |
0 commit comments