Bug 14384 - Add option to koha-run-backups, to disable koha instance during backup
Summary: Add option to koha-run-backups, to disable koha instance during backup
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Mason James
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-15 03:07 UTC by Mason James
Modified: 2015-07-19 15:40 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mason James 2015-06-15 03:07:32 UTC
Add option to koha-run-backups, to disable koha instance during backup
Comment 1 Robin Sheat 2015-06-15 03:28:05 UTC
Why?
Comment 2 Mason James 2015-06-15 11:02:20 UTC
(In reply to Robin Sheat from comment #1)
> Why?

This option would nicely fix a problem when backing up a ‘large’ Koha, that takes some hours to complete.
Large koha instances can accumulate many stalled perl processes, when their databases are locked during backup.

Eventually, mysql could hang or crash, and the server will become unstable :)


The option to ‘disable’ Koha instances for the duration of their backup, would stop this problem from occurring
Comment 3 Robin Sheat 2015-06-15 22:38:55 UTC
I suppose that's reasonable :)
Comment 4 Mirko Tietgen 2015-07-19 15:40:10 UTC
See also Bug 14565.