(1) seems like the right way to go to me too.
There may be other ways but puppet/files/lucene/lucene.jobs.sh has a
function called
import-db() which creates a dump like this:
php $MWinstall/common/multiversion/MWScript.php dumpBackup.php $dbname
--current > $dumpfile
Ram
On Thu, Mar 7, 2013
As many people know, our current search infrastructure has caused a
few problems with the site. It's an area that was greatly improved by
the work that Robert Stojnic (a.k.a. Rainman) did in 2008, but he
hasn't had the time to keep up with it, and to date, the WMF hasn't
invested a lot in further