[Koha-bugs] [Bug 14532] koha-dump shouldn't back backup Zebra indexes by default

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 20 17:24:12 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14532

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 41098
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41098&action=edit
Bug 14532: Add --include-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 --include-indexes your_instance
  (you can use -i too)
=> SUCCESS: Verify the contents of the dump are the same
   (i.e. it includes /var/lib/koha/your_instance)
- Run
  $ koha-dump 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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list