Bug 14532: (followup) Use tar's --exclude for simplicity
authorTomás Cohen Arazi <tomascohen@theke.io>
Thu, 21 Jan 2016 13:50:17 +0000 (10:50 -0300)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 2 Mar 2016 04:39:51 +0000 (04:39 +0000)
commita799879735cc2d658b78cb4c1dd898befeb24b12
tree2effae15c0278692c9545fdba5f9710cc62a9da8
parentde741ca0fe2d429fefbd89c404738b8e26e65532
Bug 14532: (followup) Use tar's --exclude for simplicity

This patch creates an --exclude definition for the tar command
so it is easier to stack excluded stuff. It does so for the
authority and biblio indexes if --exclude-indexes is passed.

A side effect from this, is that uploads and plugins are still
backed up, as Jonathan noted.

Regards

Edit: Fixed a weird quoting problem.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
debian/scripts/koha-dump