On 06/14/2011 12:58 PM, Patrick Boutilier wrote:
On 06/14/2011 12:51 PM, Adam Tauno Williams wrote:
On Thu, 2011-06-09 at 10:04 -0700, Andrew Morgan wrote:
On Thu, 9 Jun 2011, Diego Ventrice wrote:
I'm planning a backup strategy for a new server that will handle
Hundreds of mailboxes. Largest server for me to admin so far
Would you share your experiences backing up cyrus mailboxes ?
What tool/s do you use ? how many backups a day do you run ?
Enabling delayed delete and delayed expunge will help a lot:
delete_mode: delayed
expunge_mode: delayed
You'll also want to modify your expire line in cyrus.conf to something
like this:
delprune cmd="/usr/local/cyrus/bin/cyr_expire -E 1 -X 7 -D 7" at=0100
-D and -X control how long deleted and expunged items remain on-disk:
-D delete-days
Remove previously deleted mailboxes older than delete-days (when
using the "delayed" delete mode).
"Older than" is a confusing statement. According to my notes this means
a message is kept for a minimum of X days from delivery, not X number of
days *after* it is deleted. I don't know why my notes say this, but I
remember testing it and convincing myself it is true. So -X / -D may
not do exactly what you are assuming they do.
Am I wrong? (and are you certain I'm wrong?)
Not sure if expire works that way but ipurge does for sure. If you have
a message that has been sitting in your mailbox for one year and you
delete it today than ipurge -d30 will purge the mail,
I should explain that a bit further. I use a modified ipurge that will
allow you to only purge deleted messages while leaving the others alone.
In that case ipurge determines what messages to purge based on the
message date not the date the message was deleted, which makes sense.
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:boutilpj@xxxxxxxxxxx
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
version:2.1
end:vcard
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/