Re: How to temporarily make all mailboxes read-only for backup purposes?

2023-11-25 Thread Matthias Nagel
I would like to avoid making a local deep copy first. This essentially doubles the required storage on the local disk and it also wears down the disk much faster as I will write gigabytes of data onto the disk every 24 hours. I would prefer an option which allows the backup program (Borg backu

RE: How to temporarily make all mailboxes read-only for backup purposes?

2023-11-25 Thread Matthias Nagel
Why would you want to do that? Afaik sdbox stores email per file. There is also an index file which stores meta attributes per mail/file and I want them to be consistent. The mta just delivers the email later and your backup is already old. That's not really am argument. Just imagine the m

How to temporarily make all mailboxes read-only for backup purposes?

2023-11-22 Thread Matthias Nagel
Dear all, I am using Dovecot sdbox format for mailboxes. Is there an option to temporarily make Dovecot read-only while the mailboxes are being backed-up such that a consistent state is backed-up? I am looking for some command which I can use as pre- and post-hook for Borgbackup. I am looking