[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Upgrading a libdb2 db to PostgreSQL



Hi all!

I've killed my largish and very effective bayesian spamassassin 
db... :-(

The problem is described in Debian Bug #188997 (and duplicates), so it 
is a well-known problem, but I haven't been successful in working 
around it, so I seek your help in doing that. 

Briefly, the problem (as I understand it), is that perl 5.6.1 was linked 
against libdb2, whereas perl 5.8.4 is linked to libdb4.0, and there is 
no simple upgrade path between them. SpamAssassin itself would have an 
nice upgrade path if I just had perl 5.6.1 and could read the db, but I 
can't... 

I tried to do it with the db4.0_upgrade program as suggested, it didn't 
work, but really what I'd like to do is get the db from libdb2 to 
PostgreSQL, so I might not need to go through libdb4.0 anyway, so I 
haven't spent much time on that. 

I suppose there must exist a way to get the data out of the libdb2 
database (it is still on my box) other than going through Perl, but I 
don't know enough about how stuff like that work... Can anyone suggest 
a way to do this?

Cheers,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
kjetil@kjernsmo.net  webmaster@skepsis.no  editor@learn-orienteering.org
Homepage: http://www.kjetil.kjernsmo.net/        OpenPGP KeyID: 6A6A0BBC



Reply to: