On Wed, Sep 08, 2004 at 03:55:43PM -0500, Josh Trutwin wrote:
> 
> My best guess is that after upgrading the configuration file to use
> the SQL settings, sa-learn --sync would migrate the current AWL/Bayes
> files in DB_File format to SQL.  Is that correct?
> 

Meta: In the future, please limit your line length, it makes it easier
      to reply.


No, that doesn't work.  Hmmm...maybe a good candidate for the
README.bayes file, at the very least the wiki.

If you want to switch from DBM based bayes to SQL based bayes, you
should first upgrade the DBM db, via sa-learn --sync.  Then you can
sa-learn --backup > backup.txt, switch over your config in local.cf
(according to the text in README.bayes), and then run
sa-learn --restore backup.txt

To migrate AWL data you can use the convert_awl_dbm_to_sql script in
the tools directory.

Michael

Reply via email to