Re: [Dovecot] Questions about single intance storage

2011-12-13 Thread Joseba Torre
El 04/12/11 21:16, Terry Carmen escribió: So I was thinking that there probably could be some tool that during a user's backup it would write the attachments among the user's other files, so it would be easy to find all of the files needed for a restore. This would of course mean that backups

Re: [Dovecot] Questions about single intance storage

2011-12-13 Thread Timo Sirainen
On 13.12.2011, at 10.50, Joseba Torre wrote: Terry's solution feels great: just a little modification of the mdbox, adding a ¿text? file with the list of attachment files, that is modified every time an attachment is added/deleted. I'd rather not implement that. It makes dbox more fragile

Re: [Dovecot] Questions about single intance storage

2011-12-07 Thread Yann Dupont
Le 05/12/2011 02:45, Timo Sirainen a écrit : On 5.12.2011, at 3.03, Stan Hoeppner wrote: To cope with catastrophic failure, create a special Dovecot administrator only mailbox (real/virtual/whatever) that contains all of the SiS files, a special Dovecot index. I'm not thinking about a

Re: [Dovecot] Questions about single intance storage

2011-12-07 Thread Charles Marcus
On 2011-12-07 5:25 AM, Yann Dupont yann.dup...@univ-nantes.fr wrote: Right now, we archive and then delete the mailbox directories (we don't use special dovecot mecanism : we migrated from another system not long time ago and we had special scripts for that). If we use SIS, what happen to the

Re: [Dovecot] Questions about single intance storage

2011-12-07 Thread Timo Sirainen
On 7.12.2011, at 12.25, Yann Dupont wrote: Other problem I'm thinking of, because I'd like to use SIS on our production servers ; but right now I think I can't . We have lots of users (+5000 teachers/engineers) on our first setup, +7 students on our 2nd setup. The user base is on

Re: [Dovecot] Questions about single intance storage

2011-12-07 Thread Yann Dupont
Le 07/12/2011 15:15, Timo Sirainen a écrit : On 7.12.2011, at 12.25, Yann Dupont wrote: doveadm expunge -u user mailbox '*' all before doing rm -rf for the user's mails. And in the archiving step you should do it with dsync with mail_attachment_dir disabled in the destination storage, so

Re: [Dovecot] Questions about single intance storage

2011-12-07 Thread Timo Sirainen
On Wed, 2011-12-07 at 17:02 +0100, Yann Dupont wrote: before doing rm -rf for the user's mails. And in the archiving step you should do it with dsync with mail_attachment_dir disabled in the destination storage, so the the attachments get written to the archive directly instead of only

Re: [Dovecot] Questions about single intance storage

2011-12-04 Thread Maria Arrea
Hello Timo. If we can not safely restore from backup a user's mailbox with SiS enabled, we can not enable SiS. Any plan to include this backup recovery tool in dovecot 2.0.X or 2.1? Regards Maria 5º We use bacula to save indexes mdboxes, and we recover mailboxes using doveadm import

Re: [Dovecot] Questions about single intance storage

2011-12-04 Thread Timo Sirainen
On 4.12.2011, at 16.10, Maria Arrea wrote: If we can not safely restore from backup a user's mailbox with SiS enabled, we can not enable SiS. Any plan to include this backup recovery tool in dovecot 2.0.X or 2.1? I'd first have to design it. And before designing it I'd need to look into how

Re: [Dovecot] Questions about single intance storage

2011-12-04 Thread Terry Carmen
If we can not safely restore from backup a user's mailbox with SiS enabled, we can not enable SiS. Any plan to include this backup recovery tool in dovecot 2.0.X or 2.1? I'd first have to design it. And before designing it I'd need to look into how the backup softwares usually work.. If

Re: [Dovecot] Questions about single intance storage

2011-12-04 Thread Timo Sirainen
On 4.12.2011, at 19.41, Terry Carmen wrote: If we can not safely restore from backup a user's mailbox with SiS enabled, we can not enable SiS. Any plan to include this backup recovery tool in dovecot 2.0.X or 2.1? I'd first have to design it. And before designing it I'd need to look into

Re: [Dovecot] Questions about single intance storage

2011-12-04 Thread Timo Sirainen
On 5.12.2011, at 0.07, Lorens Kockum wrote: Timo Sirainen wrote: And before designing it I'd need to look into how the backup softwares usually work.. If anyone has any ideas about this, I'd like to hear. Simple or even moderately efficient backup programs like rsync copy all the files.

[Dovecot] Questions about single intance storage

2011-12-03 Thread Maria Arrea
Hello We are using dovecot 2.0.16 with mdbox+zlib. We are now testing SiS (Single Instance Storage) and I have 5 questions: 1º Is possible to dedup existing mdboxes? 2º Are attachments compressed with zlib if mdboxes already use zlib? 3º I have plenty CPU to spare, should I use a low value

Re: [Dovecot] Questions about single intance storage

2011-12-03 Thread Timo Sirainen
On 3.12.2011, at 22.30, Maria Arrea wrote: We are using dovecot 2.0.16 with mdbox+zlib. We are now testing SiS (Single Instance Storage) and I have 5 questions: 1º Is possible to dedup existing mdboxes? You can dsync the mailbox elsewhere and then replace the original with the new copy.