[Bug 14565] koha-run-backups does not backup an instance called demo
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14565 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167235|0 |1 is obsolete| | --- Comment #10 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 168224 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=168224&action=edit Bug 14565: Allow koha-run-backups to backup an instance called `demo` We all have a `demo` instance somewhere. It is so weird that the default script for backing up Koha has a hardcoded exclusion for instances called like that. This patch fixes that. To test: 1. Add a demo instance: $ ktd --shell k$ sudo koha-create --create-db demo 2. Run: k$ sudo debian/scripts/koha-run-backups 3. Check the backups: k$ ls -l /var/spool/koha/demo/ => FAIL: No backup for the demo instance 3. Apply this patch 4. Repeat 2 => SUCCESS: Backup made! 5. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org