From 11227af99b64c78290ec67be434f2a45f8452d06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Thu, 6 Dec 2018 22:40:18 +0100 Subject: [PATCH] Update u_e-dovecot-vmail-volume.md --- docs/u_e-dovecot-vmail-volume.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/u_e-dovecot-vmail-volume.md b/docs/u_e-dovecot-vmail-volume.md index 013352309..260af776d 100644 --- a/docs/u_e-dovecot-vmail-volume.md +++ b/docs/u_e-dovecot-vmail-volume.md @@ -9,11 +9,10 @@ volumes: o: bind ``` -The process to move the vmail folder is: -Locate the current vmail folder: `docker volume inspect mailcowdockerized_vmail-vol-1` -Copy the `_data` folder to the new folder using `cp -a` -Stop Mailcow by executing (from the Mailcow root folder) `docker-compose down` -Create the file `docker-compose.override.yml` -Delete the current vmail folder: `docker volume rm mailcowdockerized_vmail-vol-1` -Start Mailcow by executing (from the Mailcow root folder) `docker-compose up -d` - +Moving an existing vmail folder: +- Locate the current vmail folder by its "Mountpoint" attribute: `docker volume inspect mailcowdockerized_vmail-vol-1` +- Copy the `_data` folder to the new folder using `cp -a`, `rsync -a` or a similar non strcuture breaking copy command +- Stop mailcow by executing `docker-compose down` from within your mailcow root folder (e.g. "/opt/mailcow-dockerized") +- Create the file `docker-compose.override.yml` +- Delete the current vmail folder: `docker volume rm mailcowdockerized_vmail-vol-1` +- Start mailcow by executing `docker-compose up -d` from within your mailcow root folder (e.g. "/opt/mailcow-dockerized")