|
|
@@ -257,6 +257,14 @@ Most of the normal tools will work, although their usage might be a little convo
|
|
|
$ docker exec some-percona sh -c 'exec mysqldump --all-databases -uroot -p"$MYSQL_ROOT_PASSWORD"' > /some/path/on/your/host/all-databases.sql
|
|
|
```
|
|
|
|
|
|
+## Restoring data from dump files
|
|
|
+
|
|
|
+For restoring data. You can use `docker exec` command with `-i` flag, similar to the following:
|
|
|
+
|
|
|
+```console
|
|
|
+$ docker exec -i some-percona sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD"' < /some/path/on/your/host/all-databases.sql
|
|
|
+```
|
|
|
+
|
|
|
# License
|
|
|
|
|
|
View [license information](https://www.percona.com/doc/percona-server/LATEST/copyright.html) for the software contained in this image.
|