Koha/debian/scripts
Tomas Cohen Arazi c2293d5c60 Bug 21111: Add --exclude-indexes to koha-run-backups
This patch adds a trivial switch so koha-run-backups can pass the
--exclude-indexes option switch to koha-dump. This way if the sysadmin
doesn't want to backup the Zebra indexes, it can be controlled by
tweaking the cron definition.

To test:
1. Apply this patch
2. Run:
   $ debian/scripts/koha-run-backups --days 2 --output /var/spool/koha
3. Notice the size of the backups:
   $ ls -lh /var/spool/koha/kohadev
4. Try the new option switch:
   $ debian/scripts/koha-run-backups \
       --exclude-indexes \
       --days 2 --output /var/spool/koha
5. Repeat 3
=> SUCCESS: Backups are smaller!
6. Sign off :-D

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

JD amended patch: fix --exclude_indexes vs --exclude-indexes in koha-run-backups.xml

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-11-04 12:59:34 +01:00
..
koha-create Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-create-dirs
koha-disable Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-dump
koha-dump-defaults
koha-elasticsearch Bug 26448: Don't overwrite commit parameter passed to koha-elasticsearch 2020-09-18 11:49:29 +02:00
koha-email-disable
koha-email-enable
koha-enable
koha-foreach
koha-functions.sh Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-indexer Bug 24306: Add debug switch to koha-indexer 2020-08-13 07:55:44 +02:00
koha-list
koha-mysql
koha-mysqlcheck
koha-passwd
koha-plack Bug 25778: Fix var scope in koha-plack for PERL5LIB and KOHA_HOME 2020-08-18 15:45:49 +02:00
koha-rebuild-zebra
koha-remove Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-reset-passwd
koha-restore
koha-run-backups Bug 21111: Add --exclude-indexes to koha-run-backups 2020-11-04 12:59:34 +01:00
koha-shell
koha-sip
koha-sitemap
koha-translate
koha-upgrade-schema
koha-upgrade-to-3.4
koha-worker Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-z3950-responder
koha-zebra