You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Michael Parker <pa...@pobox.com> on 2004/04/29 03:03:08 UTC

SQL Bayes Storage Warning

Just a warning to folks who are currently making use of the Bayes SQL
storage.

I just checked in a major update that changed the database table
structure.  Unlike the DBM storage there is no on the fly upgrade
capability.  Therefore if you are interested in keeping your current
data you must take some steps to save it.

First, make sure you are running at least r10320 but no greater than
r10394.

Next, use the new sa-learn --backup command to save a copy of your
current database, you must do this per user.

Update your SA installation to something greater than r10394.

Then you can sa-learn --restore=<backupfile.txt> to restore your saved
data.  Repeat for each user.

Let me know if you see any problems.

Michael