[bitnami/kafka] typo data directory inside container (#10405)

Update README.md

typo data directory inside container

Signed-off-by: devudopw <devudopw@users.noreply.github.com>

Signed-off-by: devudopw <devudopw@users.noreply.github.com>
This commit is contained in:
devudopw
2022-10-17 17:11:30 +08:00
committed by GitHub
parent 01cfdb86a6
commit 772d20e4dc

View File

@@ -699,14 +699,14 @@ We need to mount two volumes in a container we will use to create the backup: a
```console
$ docker run --rm -v /path/to/kafka-backups:/backups --volumes-from kafka busybox \
cp -a /bitnami/kafka:latest /backups/latest
cp -a /bitnami/kafka /backups/latest
```
Or using Docker Compose:
```console
$ docker run --rm -v /path/to/kafka-backups:/backups --volumes-from `docker-compose ps -q kafka` busybox \
cp -a /bitnami/kafka:latest /backups/latest
cp -a /bitnami/kafka /backups/latest
```
### Restoring a backup