migrating to a different db
mark at antsclimbtree.com
Mon May 1 12:33:51 EDT 2006
On May 1, 2006, at 8:32 AM, Andrew Morgan wrote:
> On Sun, 30 Apr 2006, Mark Edwards wrote:
>> Can someone tell me what the repercussions of rebuilding cyrus
>> with a different db, say db43 instead of db41, and starting the
>> new one up with the same data and configuration? Will it run?
>> Will there be data corruption of any kind?
> The safest and most reliable way to perform that upgrade is to use
> cvt_cyrusdb to convert your databases to plaintext using the old
> binaries. Then upgrade the software and use cvt_cyrusdb again to
> convert back into berkeley DB.
> An alternative, but somewhat risky, method is to simple delete
> (rename might be safer) the contents of <configdirectory>/db/. The
> files in that directory are the Berkeley DB transaction logs, etc,
> and can be safely deleted in my experience. Also, everytime I have
> changed Berkeley DB versions, I would get DB corruption warnings
> when I start Cyrus if I did not empty that directory.
> It would be smart to have backups too, just in case. :)
Just the answers I was looking for. Thanks guys!
More information about the Info-cyrus