From 07a8f6bf4c35d053383af8dac094d10bd469f7b4 Mon Sep 17 00:00:00 2001 From: h0lysp4nk Date: Sun, 26 Apr 2020 23:25:15 +0100 Subject: Update Install-with-Docker.md (#215) Added documentation on how to remove the persistent docker volume for ac-database. --- docs/Install-with-Docker.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/Install-with-Docker.md b/docs/Install-with-Docker.md index 2f612d6..ba9d3e1 100644 --- a/docs/Install-with-Docker.md +++ b/docs/Install-with-Docker.md @@ -150,6 +150,16 @@ Then your `docker-compose up` will automatically locate the `.env` with your cus - The `docker-compose down` command will stop your containers, but it also removes the stopped containers as well as any networks that were created. +### How can I delete my database files? + +**Warning** Once you've deleted your database files they are unrecoverable unless you have a backup. + +To remove your database files you firstly want to make sure that your containers have been stopped and removed by typing: `docker-compose down`. + +After stopping and removing your containers you can proceed to remove the volume by typing: `docker volume rm azerothcore-wotlk_ac-database` + +**Note** If you've changed your folder name from the default `azerothcore-wotlk` the volume name will be slightly different. To find the new volume name you can use the command `docker volume ls`. The volume should be labelled something along the lines of `xxxx_ac-database`. + ### How can I run commands in the worldserver console? You can easily attach/detach from the worldserver console. -- cgit