Thank you Vitalii.
Could you please tell me / do you know if those dovecot* files have to be also backed / archived?
Kind regards,
Adam
---------- Původní e-mail ---------- Od: Vitalii vnagara@yandex.com Komu: Adam adam.ranek@seznam.cz Datum: 7. 10. 2020 12:04:11 Předmět: Re: Version controlled (git) Maildir generated by Dovecot My 5 cents: Git is REVISION control, It make sense to use it if files are modified. Email is static files so it's better to use any backup system with archiving capabilities (gzip or similar). It provide ability to copy partially or just some old years to another HDD that is not possible with git. Also you can archive by dsync to that new server with account on mdbox account with gzip compression. That will save space and gives you full access to all email.
P.S. there are many options to choose. I use borg to backup everything, including email and mdbox format with separate folder for attachments that deduplicate attachments on backups and in filesystem.