[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed May 5 22:26:32 2004 -->
- <!--x-from-r13: xnobbz ng tngrpu.rqh (Quevf Dvpxre) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: Pine.LNX.4.44.0405031615460.13315-[email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] cyrus - slow reconstruct of mailboxes.db -->
- <li><em>date</em>: Wed May 5 22:26:32 2004</li>
- <li><em>from</em>: kaboom at gatech.edu (Chris Ricker)</li>
- <li><em>in-reply-to</em>: <<a href="msg00095.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00095.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] cyrus - slow reconstruct of mailboxes.db</li>
> Anybody run cyrus for delivery on upwards of 10,000 mailboxes? How long
> does it take to start up master after a catastrophic failure assuming its
> running ctl_cyrusdb -r?
A while ;-). What kind of hardware? How often do you checkpoint?
> Does ctl_cyrusdb -r walk every user mailbox and do a thorough reconstruct?
ctl_cyrusdb -r recovers the db logs since the last db checkpoint....
reconstruct can be used to rebuild user mailboxes.
> Anybody know how to speed this up, or keep a secondary, failover
> mailboxes.db that can be moved in to replace the corrupt one in event of
> a catastrophic failure?
You can use ctl_mboxlist to export the db to flat text. When you restore,
just import the text back, something like:
su - cyrus
ctl_mboxlist -d > /backups/mboxdump.txt
....
ctl_mboxlist -u < /backups/mboxdump.txt
You can back up the actual file as well, but that only works to restore if
you're on the same version, platform, etc. (just like most binary db
files), so the export and import is the far safer way to go.
later,
chris
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00095" href="msg00095.html">[ale] cyrus - slow reconstruct of mailboxes.db</a></strong>
<ul><li><em>From:</em> jtaylor at onlinea.com (J.M. Taylor)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00179.html">[ale] correct it!</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00181.html">[ale] Korn Shell on RH9</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00096.html">[ale] cyrus - slow reconstruct of mailboxes.db</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00097.html">[ale] Suse9.0 bootup freeze ?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00180"><strong>Date</strong></a></li>
<li><a href="threads.html#00180"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>