Koha/debian
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
..
docs Bug 21111: Add --exclude-indexes to koha-run-backups 2020-11-04 12:59:34 +01:00
scripts Bug 21111: Add --exclude-indexes to koha-run-backups 2020-11-04 12:59:34 +01:00
source
templates Bug 26310: (QA follow-up) koha-conf-site.xml.in tweaks 2020-11-04 12:59:33 +01:00
bd-to-depends
build-git-snapshot Bug 21000: Force case sensitivity on Getopt::Long 2019-07-15 11:27:57 +01:00
changelog
compat
control Bug 17084: Automatic debian/control updates (master) 2020-10-14 15:53:11 +02:00
control.in Bug 26702: Remove explicit libnet-stomp-perl from debian/control.in 2020-11-02 11:03:09 +01:00
copyright Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
koha-common.bash-completion
koha-common.config
koha-common.cron.d
koha-common.cron.daily Bug 24153: Add the confirm flag to the crontab calls 2020-07-20 16:08:22 +02:00
koha-common.cron.hourly
koha-common.cron.monthly
koha-common.default
koha-common.dirs
koha-common.docs
koha-common.init Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-common.install Bug 22417: Add koha-worker to koha-common.install 2020-10-05 16:20:51 +02:00
koha-common.links
koha-common.logrotate
koha-common.postinst Bug 22417: Update packaging files 2020-10-05 15:30:02 +02:00
koha-common.preinst Bug 25485: Remove tiny_mce symlink during pre install of deb package 2020-05-20 09:15:13 +01:00
koha-common.README.Debian
koha-common.templates
koha-post-install-setup
koha.apache-ports
koha.config
koha.dirs
koha.install
koha.postinst
koha.postrm
koha.prerm
koha.README.Debian
list-deps Bug 25898: Fix indirect object notation in debian/list-deps 2020-10-26 16:01:52 -03:00
README.build
rules Bug 20582: Turn Koha into a Mojolicious application 2020-10-08 13:51:30 +02:00
unavailable.html
update-control

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.