Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: SA locked up and seemingly dumped the DB we've been building

From: Daryl C. W. O'Shea <spamassassin(at)dostech.ca>
Date: Thu Aug 30 2007 - 17:30:24 EDT


FH wrote:
> Just in case someone runs into something similar in the future... restoring
> the DB files from backup (and running sa-learn --sync once they were in
> place)
> seems to have done the trick. The main question that remains outstanding is
> whether or not the "best practice" is to do things this way (using a script
> to
> tar/zip the bayes files and then dump them to tape [as part of a regular
> backup]) or if using the sa-learn --backup > file is better, or does it not
> matter?

If you don't backup the database files in the order specified by Sleepycat (if you're using journaling) you risk backing up a corrupt database if it gets modified while you're backing it up.

The safest way to do it is to use sa-learn --backup, which is especially handy if you have to restore the database on a different platform since the databases are platform dependent.

Daryl Received on Thu Aug 30 17:30:57 2007

This archive was generated by hypermail 2.1.8 : Fri Oct 26 2007 - 04:34:05 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library