Skip to content

Commit 51ec4b0

Browse files
Run update.sh
1 parent 0677597 commit 51ec4b0

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

mariadb/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,14 @@ Most of the normal tools will work, although their usage might be a little convo
234234
$ docker exec some-mariadb sh -c 'exec mysqldump --all-databases -uroot -p"$MYSQL_ROOT_PASSWORD"' > /some/path/on/your/host/all-databases.sql
235235
```
236236

237+
## Restoring data from dump files
238+
239+
For restoring data. You can use `docker exec` command with `-i` flag, similar to the following:
240+
241+
```console
242+
$ docker exec -i some-mariadb sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD"' < /some/path/on/your/host/all-databases.sql
243+
```
244+
237245
# License
238246

239247
View [license information](https://mariadb.com/kb/en/library/licensing-faq/) for the software contained in this image.

mysql/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,14 @@ Most of the normal tools will work, although their usage might be a little convo
249249
$ docker exec some-mysql sh -c 'exec mysqldump --all-databases -uroot -p"$MYSQL_ROOT_PASSWORD"' > /some/path/on/your/host/all-databases.sql
250250
```
251251

252+
## Restoring data from dump files
253+
254+
For restoring data. You can use `docker exec` command with `-i` flag, similar to the following:
255+
256+
```console
257+
$ docker exec -i some-mysql sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD"' < /some/path/on/your/host/all-databases.sql
258+
```
259+
252260
# License
253261

254262
View [license information](https://www.mysql.com/about/legal/) for the software contained in this image.

percona/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,14 @@ Most of the normal tools will work, although their usage might be a little convo
257257
$ docker exec some-percona sh -c 'exec mysqldump --all-databases -uroot -p"$MYSQL_ROOT_PASSWORD"' > /some/path/on/your/host/all-databases.sql
258258
```
259259

260+
## Restoring data from dump files
261+
262+
For restoring data. You can use `docker exec` command with `-i` flag, similar to the following:
263+
264+
```console
265+
$ docker exec -i some-percona sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD"' < /some/path/on/your/host/all-databases.sql
266+
```
267+
260268
# License
261269

262270
View [license information](https://www.percona.com/doc/percona-server/LATEST/copyright.html) for the software contained in this image.

0 commit comments

Comments
 (0)