[Web][Restic][Dovecot][Dockerapi] Add restic backups with restore in the UI

- Scheduled, encrypted backups to S3, SFTP, REST or a local folder (new restic-mailcow container)
- Restore of mailboxes and whole domains in the UI, also deleted ones, for admins and domain admins
- Scope set by RESTIC_BACKUP_MODE in mailcow.conf (all, data, config)
- Optional backup before updates (update.sh), helper-scripts/restic.sh for a full restore
This commit is contained in:
FreddleSpl0it committed 2026-11-08 22:56:27 +01:00
1 parent a64ee13670
commit 6cf0390d58
66 files changed
+15214 -97

No files matched your search

+11
View File
@@ -264,6 +264,17 @@ ACL_ANYONE=disallow
# Check interval is hourly
MAILDIR_GC_TIME=7200
# Folder on the host for backups to the target "local" (backup settings in the mailcow UI), as an absolute path,
# e.g. a NAS mounted from another disk. The repository is created in a subfolder of it.
# Empty: the Docker volume restic-repo-vol-1 of mailcow, on the same disk as the mailcow data.
RESTIC_LOCAL_PATH=
# What the backups of the mailcow UI hold:
# - all (default),
# - data (vmail, vmail-index, database, redis, mail crypt keys and mailcow.conf)
# - config (database, redis, mail crypt keys, mailcow.conf and data/conf).
RESTIC_BACKUP_MODE=all
# Additional SAN for the certificate
#
# You can use wildcard records to create specific names for every domain you add to mailcow.