Include local mailboxes in backups from the panel #29

Merged
parkel merged 2 commits from feature/panel-mail-account-backups into main 2026-11-21 12:51:03 +01:00
2 changed files with 23 additions and 2 deletions
Showing only changes of commit 4b8e44bb72 - Show all commits

No files matched your search

+19
View File
@@ -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)
+4 -2
View File
@@ -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