[Koha-bugs] [Bug 21111] Add --exclude-indexes option to koha-run-backups
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 13 15:32:36 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21111
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #106829|0 |1
is obsolete| |
--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 106830
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106830&action=edit
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
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list