Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Storing Elog database files in version control (CVS/SVN/GIT)?, posted by Brett Viren on Mon Mar 23 19:30:09 2009 
    icon2.gif   Re: Storing Elog database files in version control (CVS/SVN/GIT)?, posted by Brett Viren on Mon Mar 23 22:30:44 2009 
    icon2.gif   Re: Storing Elog database files in version control (CVS/SVN/GIT)?, posted by Stefan Ritt on Tue Mar 24 08:14:48 2009 
Message ID: 66262     Entry time: Tue Mar 24 08:14:48 2009     In reply to: 66259
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 2.7.5 
Subject: Re: Storing Elog database files in version control (CVS/SVN/GIT)? 

Brett Viren wrote:
Hi,

Is it possible to store ELOG back-end database files in version control so as to synchronize multiple ELOG
instances?

Has anyone tried it? Any obvious show stoppers to such an approach?

Cheers,
-Brett.


I acknowledge that mirroring through SSL is highly requested, I will try to do my best to implement it. Doing it with version control on the back-end files is not such a good idea. After each synchronization you would have to restart the elogd servers, since they don't realize if the files got changed "under their feet". Furthermore, if you have changes on both sides on different entries for the same day, you have a conflict which you have to solve manually with an editor on the raw files. The elog synchronization works on the entry level, not on the file level. So if two different entries for the same day are changed on both servers, they are combined properly without conflict. Only if the same message got modified on both sides, elog reports a conflict and you have to choose one version or the other.
ELOG V3.1.5-3fb85fa6