[Koha-bugs] [Bug 8268] Koha should offer way to backup entire db

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 13 10:16:15 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8268

--- Comment #23 from Paul Poulain <paul.poulain at biblibre.com> ---
I've found a problem with this patch, that you can see when you run plack:
Variable "$backupdir" is not available at
/home/paul/koha.dev/koha-community/tools/export.pl line 334.

=> the backup features won't work under plack (problem of variable scoping with
Plack that put the script in a sub, making main() variable unaccessible in
other subs. Problem solved everywhere with a our instead of my. The best
option, that I would prefer -from far- for this new feature, being that we
don't use such a our variable, but define backupdir where it's needed (+ it's
just reading of a syspref, so not something costly)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list