Page History
Div | ||
---|---|---|
| ||
|
...
Shut down your API Management.
To do this, run the following command:
Code Block |
---|
docker-compose down |
Tip |
---|
The docker-compose.yml can be found in the following folder:
|
...
Backup your API Management data as described on API Management Administration > Export/Import Data.
Also backup the MySQL database and Elasticsearch. To do this, use the following commands:
Code Block |
---|
docker-compose run --no-deps --rm -v $(pwd):/backup --entrypoint 'tar cvf /backup/mysql_data.tar /var/lib/mysql' mysql |
Code Block |
---|
docker-compose run -uroot --no-deps --rm -v $(pwd):/backup --entrypoint 'tar cvf /backup/es_data.tar /usr/share/elasticsearch/data' elasticsearch |
Move the backup files to a safe location.
...
...
...
...
...
...
...
...
...
...
Overview
Content Tools