From 5170b59cedb396461860ef5c6501a453e397bb8a Mon Sep 17 00:00:00 2001 From: Martin Wilhelmi Date: Sat, 13 Oct 2018 14:38:52 +0200 Subject: [PATCH 1/3] Backup script: add crypt argument --- docs/b_n_r_backup.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/b_n_r_backup.md b/docs/b_n_r_backup.md index e0dcac50a..87822ccc8 100644 --- a/docs/b_n_r_backup.md +++ b/docs/b_n_r_backup.md @@ -9,13 +9,13 @@ You can also use "all" as second parameter to backup all components. ``` # Syntax: -# ./helper-scripts/backup_and_restore.sh backup (vmail|redis|rspamd|postfix|mysql|all) +# ./helper-scripts/backup_and_restore.sh backup (vmail|crypt|redis|rspamd|postfix|mysql|all) # Backup all ./helper-scripts/backup_and_restore.sh backup all -# Backup vmail and mysql data -./helper-scripts/backup_and_restore.sh backup vmail mysql +# Backup vmail, crypt and mysql data +./helper-scripts/backup_and_restore.sh backup vmail crypt mysql ``` From f7454d47aa13e1efd0738185d1148ecc976fa4b3 Mon Sep 17 00:00:00 2001 From: "Tobias \"Knight\" S" Date: Sat, 13 Oct 2018 22:59:59 +0200 Subject: [PATCH 2/3] Added crypt to b_n_r_backup.md --- docs/b_n_r_backup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/b_n_r_backup.md b/docs/b_n_r_backup.md index e0dcac50a..cdc65044a 100644 --- a/docs/b_n_r_backup.md +++ b/docs/b_n_r_backup.md @@ -9,7 +9,7 @@ You can also use "all" as second parameter to backup all components. ``` # Syntax: -# ./helper-scripts/backup_and_restore.sh backup (vmail|redis|rspamd|postfix|mysql|all) +# ./helper-scripts/backup_and_restore.sh backup (crypt|vmail|redis|rspamd|postfix|mysql|all) # Backup all ./helper-scripts/backup_and_restore.sh backup all From 5d0c6251598eea28137e6b44e59ae88fd33e889f Mon Sep 17 00:00:00 2001 From: "Tobias \"Knight\" S" Date: Sat, 13 Oct 2018 23:05:55 +0200 Subject: [PATCH 3/3] update to reflect added crypt and deleted dkim volume --- docs/debug-rm_volumes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/debug-rm_volumes.md b/docs/debug-rm_volumes.md index 3bdbb52a0..7aa1bf6be 100644 --- a/docs/debug-rm_volumes.md +++ b/docs/debug-rm_volumes.md @@ -7,7 +7,7 @@ docker volume rm mailcowdockerized_${VOLUME_NAME} - Remove volume `mysql-vol-1` to remove all MySQL data. - Remove volume `redis-vol-1` to remove all Redis data. - Remove volume `vmail-vol-1` to remove all contents of `/var/vmail` mounted to `dovecot-mailcow`. -- Remove volume `dkim-vol-1` to remove all DKIM keys. - Remove volume `rspamd-vol-1` to remove all Rspamd data. +- Remove volume `crypt-vol-1` to remove all crypto data. This will render **all mails** unreadable. Running `docker-compose down -v` will **destroy all mailcow: dockerized volumes** and delete any related containers and networks.