]> git.koha-community.org Git - koha.git/commit
Bug 14532: Add --exclude-indexes switch to koha-dump
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 20 Jul 2015 15:18:03 +0000 (12:18 -0300)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 2 Mar 2016 04:39:51 +0000 (04:39 +0000)
commitb7096c1bfa1a1f0b7c917a5a763b763ac577cbad
treefc96cd8a67ad535578263c477aaa42e17db3e19b
parent3eab27f3ef3588933b60fe18ca84c799c61904a2
Bug 14532: Add --exclude-indexes switch to koha-dump

This patch changes the default behaviour of koha-dump to make the inclusion
of Zebra indexes on the dump optional. It does so by introducing a new option
switch that allows to have the previous behaviour in place.

To test:
- Run
  $ koha-dump your_instance
- Save a copy of the dump files
- Apply the patch / extract the koha-dump script
- Run the new one:
  $ koha-dump your_instance
=> SUCCESS: Verify the contents of the dump are the same
   (i.e. it includes /var/lib/koha/your_instance)
- Run with the new switch:
  $ koha-dump --exclude-indexes your_instance
=> SUCCESS: The dump does not contain stuff from /var/lib/koha/your_instance
- Go through the rest of the new option switches
  -h | --help
  -q | --quiet
=> SUCCESS: They work as expected.
- Sign off :-D

Regards

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
debian/docs/koha-dump.xml
debian/scripts/koha-dump