From 4b8e44bb7288c822df66dcc644cf5ea03ff46f10 Mon Sep 17 00:00:00 2001 From: Peter van Arkel Date: Sat, 21 Nov 2026 12:48:55 +0100 Subject: [PATCH] Document enabling mailboxes in local panel backups --- docs/deployment.md | 19 +++++++++++++++++++ docs/development.md | 6 ++++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index a84659c..8d346a8 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -396,6 +396,25 @@ Archives are stored under `/var/lib/coulobre/account-backups/` with root-only access. Retrieve archives and manage their retention on the server. Recovery uses the existing [account bundle commands](development.md#recover-backups-from-the-bundle). +#### Include mailboxes on the same server + +Complete the [Postfix and Dovecot setup](development.md#apply-a-mailbox-manifest) +on the same server. Install the service drop-in so the backup service can +create its temporary Maildir copies on the mail volume. + +```sh +sudo install -D -m 0644 deploy/systemd/coulobre-account-backup@.service.d/mail.conf \ + /etc/systemd/system/coulobre-account-backup@.service.d/mail.conf +sudo systemctl daemon-reload +``` + +Set `COULOBRE_LOCAL_ACCOUNT_BACKUP_MAIL=1` in `/etc/coulobre/panel.env` and +restart `coulobre-panel` and `coulobre-backup-worker`. Operators with +permission to view mailbox requests can select **Include mailboxes** when +creating an account backup. Provision all listed mailboxes before requesting +a backup with mail. For mailboxes on a separate server, use the +[bundle workflow for separate nodes](development.md#bundle-backups-from-separate-nodes). + ## Publish local DNS zones from the panel Enable the [DNS publishing socket](development.md#enable-local-dns-publishing) diff --git a/docs/development.md b/docs/development.md index 02aaec3..0c2120f 100644 --- a/docs/development.md +++ b/docs/development.md @@ -902,8 +902,10 @@ each listed database, and the requested mailbox archives. Back up DNS and panel settings separately. On a single-server installation, operators can start a backup of the website -and databases directly from the account page and view its status there. -[Enable account backups in the panel](deployment.md#start-local-account-backups-from-the-panel) +and databases directly from the account page and view its status there. If +mail is hosted on that server too, enable the **Include mailboxes** option. +[Enable account backups in the panel](deployment.md#start-local-account-backups-from-the-panel), +[include local mailboxes](deployment.md#include-mailboxes-on-the-same-server) If all resources in the manifest are on one server, run the account backup command there as root. To include mail, pass the manifest downloaded with