Skip to content

Commit 36bd84d

Browse files
authored
Update README.md and add version constraint (#4)
1 parent 1f33e59 commit 36bd84d

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.md

+9-11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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)
33
[![release](https://img.shields.io/github/v/release/stasadev/ddev-mydumper)](https://github.com/stasadev/ddev-mydumper/releases/latest)
44

55
# DDEV MyDumper
@@ -25,36 +25,34 @@ After installation, make sure to commit the `.ddev` directory to version control
2525

2626
| Command | Description |
2727
| ------- | ----------- |
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. |
3030

3131
Examples:
3232

3333
```bash
3434
ddev mydumper --help
3535
ddev myloader --help
3636

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
3939
```
4040

4141
For more detailed usage instructions, visit the [MyDumper Wiki](https://github.com/mydumper/mydumper/wiki).
4242

4343
## Advanced Customization
4444

45-
You can customize MyDumper's configuration via [mydumper.cnf](./mydumper/mydumper.cnf).
46-
4745
To change the Docker image used by MyDumper:
4846

4947
```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
5149
ddev add-on get stasadev/ddev-mydumper
5250
ddev restart
5351
```
5452

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.
5654

57-
Customization options (use with caution):
55+
All customization options (use with caution):
5856

5957
| Variable | Flag | Default |
6058
| -------- | ---- | ------- |

install.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ pre_install_actions:
2727
project_files:
2828
- docker-compose.mydumper.yaml
2929
- commands/mydumper
30+
31+
ddev_version_constraint: '>= v1.24.3'

0 commit comments

Comments
 (0)