Update u_e-dovecot-vmail-volume.md
Dieser Commit ist enthalten in:
Ursprung
5ed60aaa71
Commit
6f4165acb4
1 geänderte Dateien mit 24 neuen und 5 gelöschten Zeilen
|
@ -11,9 +11,28 @@ volumes:
|
|||
|
||||
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`
|
||||
- Locate the current vmail folder by its "Mountpoint" attribute: `docker volume inspect mailcowdockerized_vmail-vol-1`
|
||||
|
||||
``` hl_lines="10"
|
||||
[
|
||||
{
|
||||
"CreatedAt": "2019-06-16T22:08:34+02:00",
|
||||
"Driver": "local",
|
||||
"Labels": {
|
||||
"com.docker.compose.project": "mailcowdockerized",
|
||||
"com.docker.compose.version": "1.23.2",
|
||||
"com.docker.compose.volume": "vmail-vol-1"
|
||||
},
|
||||
"Mountpoint": "/var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data",
|
||||
"Name": "mailcowdockerized_vmail-vol-1",
|
||||
"Options": null,
|
||||
"Scope": "local"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
- Copy the content of the `Mountpoint` folder to the new location (e.g. `/data/mailcow/vmail`) 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`, edit the device path accordingly
|
||||
- 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")
|
||||
- Start mailcow by executing `docker-compose up -d` from within your mailcow root folder (e.g. `/opt/mailcow-dockerized`)
|
||||
|
|
Laden …
In neuem Issue referenzieren