From 5c891a56b832106baa753a2208aa0ef3ddda2719 Mon Sep 17 00:00:00 2001 From: Maximilian Janik Date: Wed, 17 May 2017 17:11:00 +0200 Subject: [PATCH] Remove incorrect backslash --- docs/u_e-backup_restore-maildir.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/u_e-backup_restore-maildir.md b/docs/u_e-backup_restore-maildir.md index a6f456d2c..e5174eb37 100644 --- a/docs/u_e-backup_restore-maildir.md +++ b/docs/u_e-backup_restore-maildir.md @@ -5,7 +5,7 @@ This line backups the vmail directory to a file backup_vmail.tar.gz in the mailc cd /path/to/mailcow-dockerized source mailcow.conf DATE=$(date +"%Y%m%d_%H%M%S") -docker run --rm -it -v $(docker inspect --format '{{ range .Mounts }}\{{ if eq .Destination "/var/vmail" }}{{ .Name }}{{ end }}{{ end }}' $(docker-compose ps -q dovecot-mailcow)):/vmail -v ${PWD}:/backup debian:jessie tar cvfz /backup/backup_vmail.tar.gz /vmail +docker run --rm -it -v $(docker inspect --format '{{ range .Mounts }}{{ if eq .Destination "/var/vmail" }}{{ .Name }}{{ end }}{{ end }}' $(docker-compose ps -q dovecot-mailcow)):/vmail -v ${PWD}:/backup debian:jessie tar cvfz /backup/backup_vmail.tar.gz /vmail ``` You can change the path by adjusting ${PWD} (which equals to the current directory) to any path you have write-access to.