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

2023-11-25 Thread jeremy ardley via dovecot
On 26/11/23 08:02, Steve Litt wrote: Is the remote vendor going to take the same care in preserving your data as you would? You could buy two 2TB spinning rust external hard drives for seventy bucks each, so if one gets borked you have the other. If you desire offsite, keep one in a bank safe

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

2023-11-25 Thread Steve Litt
Matthias Nagel said on Sat, 25 Nov 2023 11:51:09 + >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

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

2023-11-25 Thread Kenneth Irving via dovecot
Why don't you duplicate mail delivery? Best regards Kenneth On Thu, 23 Nov 2023, Matthias Nagel wrote: 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

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

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

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

2023-11-24 Thread Bernardo Reino
On Wed, 22 Nov 2023, Matthias Nagel wrote: 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

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