<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Steinar,<br>
<br>
You would use ctl_mboxlist to restore the mboxlist.txt file if you used
ctl_mboxlist to dump it.<br>
<br>
for example, my weekly crontab backs up my mailboxes.db in a textfile,
such as<br>
<br>
su -c "/usr/lib/cyrus/ctl_mboxlist -d" cyrus >
/imap.backup/mailboxes.$DATE.txt<br>
<br>
You would use ctl_mboxlist -u to load it fwiw.<br>
<br>
<br>
Steinar Bang wrote:
<blockquote cite="mid:873auro2ij.fsf@dod.no" type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Steinar Bang <a class="moz-txt-link-rfc2396E" href="mailto:sb@dod.no"><sb@dod.no></a>:
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Does this mean they don't require rebuilding when moving from cyrus 2.1
to 2.2?
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">If that is true, and if the text version of the mailboxes file is what I
need, then I should be able to survive this...:-)
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">(but I don't dare start cyrus22 until I hear some sort of confirmation
on this...:-) )
</pre>
</blockquote>
<pre wrap=""><!---->
cvt_cyrusdb croaks on the ASCII file as well. (sigh!)
/$ /usr/sbin/cvt_cyrusdb /var/lib/cyrus/mboxlist.txt flat /var/lib/cyrus/mailboxes.db skiplist
Converting from /var/lib/cyrus/mboxlist.txt (flat) to /var/lib/cyrus/mailboxes.db (skiplist)
fatal error: can't open old database
----
Cyrus Home Page: <a class="moz-txt-link-freetext" href="http://cyrusimap.web.cmu.edu/">http://cyrusimap.web.cmu.edu/</a>
Cyrus Wiki/FAQ: <a class="moz-txt-link-freetext" href="http://cyrusimap.web.cmu.edu/twiki">http://cyrusimap.web.cmu.edu/twiki</a>
List Archives/Info: <a class="moz-txt-link-freetext" href="http://asg.web.cmu.edu/cyrus/mailing-list.html">http://asg.web.cmu.edu/cyrus/mailing-list.html</a>
!DSPAM:474c8631206017110611695!
</pre>
</blockquote>
<br>
</body>
</html>