Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Synchronization using https, posted by Alexandre Lindote on Thu Jan 18 16:29:43 2007 
    icon2.gif   Re: Synchronization using https, posted by Stefan Ritt on Thu Jan 18 20:19:22 2007 
       icon5.gif   Re: Synchronization using https, posted by Marcus Hauser on Tue Feb 13 15:11:18 2007 
          icon2.gif   Re: Synchronization using https, posted by Stefan Ritt on Tue Feb 13 15:36:08 2007 
Message ID: 2127     Entry time: Tue Feb 13 15:36:08 2007     In reply to: 2126
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 2.6.3-1762 
Subject: Re: Synchronization using https 

Marcus Hauser wrote:
Would it be possible to use rsync to syncronise two elogd servers on different servers via secure synchronization on the file level?
E.g.
rsync -av -e ssh /var/lib/elog/logbooks/ elog.remote.de:/var/lib/elog/logbooks/


Do do this, you have to do the following:

  • Stop both elogd servers on each side
  • Do the rsync
  • Restart the elogd servers

This is necessary because an elogd server does not rescan the database files unless it's restarted. Note that you only can synchronize on a day level. Like if in a single day new entries are made on both sides, you have a conflict. This is not the case if you do the internal elogd synchronization, because this works on an entry level (actually that was the reason why this internal synchronization was invented). So new entries on both sides which were made as the same day will be merged intelligently.
ELOG V3.1.5-3fb85fa6