Try to more closely match the backup_and_restore.sh script by including postfix, rspamd and redis volumes. Ignore the paths that contain sockets/FIFOs as borgmatic uses these for its mysql backup, which means borg "stuck" trying to read these.
Move the generated borg security data and cache to volumes so that they persists without writing in the mailcow/data folder or the overlay.
This guide describes setting up automatic recurring backups using
borgmatic.
This is a good alternative to juggling tar archives.
Signed-off-by: Felix Kaechele <felix@kaechele.ca>