[Koha] synchro two instances of Koha

Giuseppe Passanisi peppe.3b at hotmail.it
Sat Mar 24 20:48:53 NZDT 2018


What I suggest you is to do a Replication of Database using Mysql itself with replication master-slave (if your purpose is Disaster Recovery or Business Continuity)

But that is not enough, you'll have to sync also configurations file and other files eventually customized.


To do that I suggest you an rsync in cronjob (every 15 minutes or less) that copy the files (with --update) from master to slave. Should be enough rsync the /var/lib/koha/instance directory and /etc/koha/.


BR,

Giuseppe Passanisi


________________________________
Da: Koha <koha-bounces at lists.katipo.co.nz> per conto di Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Inviato: venerdì 23 marzo 2018 19:59
A: Giuseppe Angilella
Cc: koha at lists.katipo.co.nz
Oggetto: Re: [Koha] synchro two instances of Koha

Hi Giuseppe,

I wrote something to do that few years ago when I worked at BibLibre (
https://git.biblibre.com/biblibre/kss/)
Kss is for "Koha sync system", the idea was to synchronize slave
installations (without internet access during the day) with the master
installation.
It does not appear to have been updated to work with new versions of Koha.
It has been initially written for 3.2 and rewritten for 3.16

Regards,
Jonathan

On Sun, 4 Mar 2018 at 02:07 Giuseppe Angilella <
Giuseppe.Angilella at ct.infn.it> wrote:

> Hi,
>
> is it possible to synchronize two (online) instances of Koha? I mean, two
> identical installations, updated regularly, residing on two different
> machines, where patrons and administrators can access and modify entries
> independently. Would it possible to synchronize their databases (and
> perhaps some relevant external file), on the basis of the modification
> timestamp of those entries that have been actually modified?
>
> (I am not sure whether my question is simply equivalent to that of
> synchronizing two mysql databases on different servers, for which there
> might be an answer, if I google it correctly: your advice is appreciated.)
>
> Many thanks,
>
> Giuseppe.
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>
_______________________________________________
Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list