Re: cyrus: delete previously deleted messages(after backup recovery)

2014-04-25 Thread Y B
Thank you for your help, I managed to write a cyrus.index parser that checks all the effective mail UIDs (=filenames) and erases all the unnecessary files (previously deleted and thus not referenced in the index file). Just in case someone faces the same issue someday, here is the script : (instea

Re: cyrus: delete previously deleted messages(after backup recovery)

2014-04-23 Thread Michael Menge
Hi Quoting Y B : OK, I managed to reconstruct my test mailbox. The files that were in my directory structure but not visible in the mailbox are now all visible in my email client. Unfortunately, the cyrreconstruct command is not verbose at all and I cannot see the filenames corresponding to red

Re: cyrus: delete previously deleted messages(after backup recovery)

2014-04-23 Thread Y B
OK, I managed to reconstruct my test mailbox. The files that were in my directory structure but not visible in the mailbox are now all visible in my email client. Unfortunately, the cyrreconstruct command is not verbose at all and I cannot see the filenames corresponding to rediscovered emails (so

Re: cyrus: delete previously deleted messages(after backup recovery)

2014-04-23 Thread Y B
this seems to be a good way to reach my goal. Unfortunately, my version of cyrreconstruct does not accept the -n option : cyrreconstruct [ -C config-file ] [ -p partition ] [ -x ] [ -r ] [ -f ] mailbox... cyrreconstruct [ -C config-file ] -m Using cyradm and reconstruct does not all

Re: cyrus: delete previously deleted messages(after backup recovery)

2014-04-23 Thread Patrick Boutilier
On 04/23/2014 08:45 AM, Y B wrote: thanks for the answer. I certainly still have the metadata since I have not lost any file, I have just too many files (all the previously deleted emails, recovered from my rsync backup) I am not exactly sure where the metadata are situated, /var/imap does not ex

Re: cyrus: delete previously deleted messages(after backup recovery)

2014-04-23 Thread Y B
thanks for the answer. I certainly still have the metadata since I have not lost any file, I have just too many files (all the previously deleted emails, recovered from my rsync backup) I am not exactly sure where the metadata are situated, /var/imap does not exist. In my case, all email files are

Re: cyrus: delete previously deleted messages(after backup recovery)

2014-04-22 Thread Patrick Boutilier
On 04/22/2014 09:19 AM, Y B wrote: Hello, after a disk crash, I had to recover all the emails from a daily backup. Unfortunately, I noticed that this backup was made with the rsync command but WITHOUT the --delete options. That means that the mail backup was much larger than the original one sin

cyrus: delete previously deleted messages(after backup recovery)

2014-04-22 Thread Y B
Hello, after a disk crash, I had to recover all the emails from a daily backup. Unfortunately, I noticed that this backup was made with the rsync command but WITHOUT the --delete options. That means that the mail backup was much larger than the original one since no message was ever deleted on the