[Koha-devel] Koha 3 Reset Database
Marc Chantreux
marc.chantreux at biblibre.com
Mon Jan 26 16:40:56 CET 2009
On Mon, Jan 26, 2009 at 09:53:54AM -0500, David Riggs wrote:
> Hello,
hello,
> 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
if you don't use zsh, just open your prefered mysql client and truncate all the
tables listed between the 2 parentheses.
--
Marc Chantreux
BibLibre, expert en logiciels libres pour l'info-doc
http://biblibre.com
More information about the Koha-devel
mailing list