Hello all!
I’ve integrated borgmatic exactly as guide explains
https://mailcow.github.io/mailcow-dockerized-docs/third_party/borgmatic/third_party-borgmatic/#introduction
with the only difference that repository is a SSH to a private server.
I’ve noticed that, despite 140gb of mails, the backup is blazingly fast. After a check, the total amount of data for a backup is a few megs.
As the mails are backed up via another method, I’ve deleted and recreated the repository, just for be sure nothing was wrong during the setup.
Again, nothing. I’ve entered the running container
docker exec -it mailcowdockerized-borgmatic-mailcow-1 /bin/bash
and everyting I’ve set up on the docker-compose.override.yml is in place. All directories are mounted and RO.
If I launch borgmatic here inside the container, the backup completes in a matter of seconds. I see it backups some file from rspamd, the mysql database and nothing more.
If I try the same exact command but with –dry-run it starts to backup all the mail in the /mnt/source/vmail directory!!!
Why this works dry-running but not on normal operation?
Please help me