[Koha-devel] Koha 3 Reset Database

David Riggs riggs at createtank.com
Mon Jan 26 21:04:00 CET 2009


On Mon, Jan 26, 2009 at 10:40 AM, Marc Chantreux
<marc.chantreux at biblibre.com> wrote:
> On Mon, Jan 26, 2009 at 09:53:54AM -0500, David Riggs wrote:
>
>> What is the best way to reset or "wipe" the database clean in Koha 3,
>> while (optionally) retaining configuration settings?
>
> this is the zsh script i use for myself:
>
> tables=(
>    bibio biblioitems items
>    auth_header sessions zebraqueue
> )
>
> print 'truncate '$^tables';
> ' | mysql
>
>

I've truncated the tables listed above, but I still have items showing
up in search results. Do I need to run some command to purge the Zebra
index also?

Thanks for your help!

- DR

-- 
david a. riggs
software engineer, createTank
mailto:riggs at createtank.com
voice: +1-304-685-7537
fax: +1-800-975-8379
http://createtank.com



More information about the Koha-devel mailing list