Bug 14384

Summary: Add option to koha-run-backups, to disable koha instance during backup
Product: Koha Reporter: Mason James <mtj>
Component: Command-line UtilitiesAssignee: Mason James <mtj>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: mirko, robin
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

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.