<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — synchronizing offline databases with online ones]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=720</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=720&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in synchronizing offline databases with online ones.]]></description>
		<lastBuildDate>Thu, 30 Jul 2009 19:34:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: synchronizing offline databases with online ones]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=3145#p3145</link>
			<description><![CDATA[<div class="quotebox"><cite>roger wrote:</cite><blockquote><p>The main issue in such cases is to avoid duplicate IDs such as order numbers, invoice, etc. between the offline DB and the online DB. </p><p>Both start from the same starting point after a synchronization, but the moment a transaction is entered both will start with the next available number. Now both DBs have a new transaction with the same transaction ID, unless you operate with a different transaction number offset in the two databases. </p><p>Plain DB synchronization is unlikely to solve the issue.</p></blockquote></div><p>I posted the question over at the SymmetricDS forum, and this is the response I received:</p><p>By: chenson42</p><p>You might be able to do something programmatically in an IDataLoaderFilter.<br />You would have access to the node_id the data is coming from so you could add<br />a column to a central database that is also part of the primary key.&nbsp; &nbsp;Or you<br />could apply some type of offset algorithm based on the node that is<br />synchronizing.</p>]]></description>
			<author><![CDATA[null@example.com (alvin)]]></author>
			<pubDate>Thu, 30 Jul 2009 19:34:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=3145#p3145</guid>
		</item>
		<item>
			<title><![CDATA[Re: synchronizing offline databases with online ones]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=3110#p3110</link>
			<description><![CDATA[<p>The main issue in such cases is to avoid duplicate IDs such as order numbers, invoice, etc. between the offline DB and the online DB. </p><p>Both start from the same starting point after a synchronization, but the moment a transaction is entered both will start with the next available number. Now both DBs have a new transaction with the same transaction ID, unless you operate with a different transaction number offset in the two databases. </p><p>Plain DB synchronization is unlikely to solve the issue.</p>]]></description>
			<author><![CDATA[null@example.com (roger)]]></author>
			<pubDate>Tue, 21 Jul 2009 20:46:36 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=3110#p3110</guid>
		</item>
		<item>
			<title><![CDATA[Re: synchronizing offline databases with online ones]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=2992#p2992</link>
			<description><![CDATA[<p>Hello Marche</p><p>Take a look at this: http://symmetricds.codehaus.org/ maybe it could be used for data synchronization?</p><p>We will need the same thing for a good POS module... when we get there.</p><p>Alvin</p>]]></description>
			<author><![CDATA[null@example.com (alvin)]]></author>
			<pubDate>Mon, 06 Jul 2009 00:47:38 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=2992#p2992</guid>
		</item>
		<item>
			<title><![CDATA[Re: synchronizing offline databases with online ones]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=2941#p2941</link>
			<description><![CDATA[<p>I do not have access to a mysql expert. can you point me to the right direction? thanks</p>]]></description>
			<author><![CDATA[null@example.com (marche)]]></author>
			<pubDate>Thu, 25 Jun 2009 15:29:35 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=2941#p2941</guid>
		</item>
		<item>
			<title><![CDATA[Re: synchronizing offline databases with online ones]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=2939#p2939</link>
			<description><![CDATA[<p>It might be possible through mysql.</p><p>Since we use innodb type we do everything in transactions and I believe there are mysql tools that can be used to sync.</p><p>If you do not have access to a mysql expert, let me know I may be able to find one (or figure it out myself)</p><p>tom</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Thu, 25 Jun 2009 15:10:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=2939#p2939</guid>
		</item>
		<item>
			<title><![CDATA[Re: synchronizing offline databases with online ones]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=2937#p2937</link>
			<description><![CDATA[<p>thats not really what i need. One client (who will do regular transactions like make sales orders, etc. while not connected continuously to the main server) can only be offline and not connected to the other people who are also making transactions (i.e. sales orders). at the end of the day, id like their transactions to be synchronized. is this possible?</p>]]></description>
			<author><![CDATA[null@example.com (marche)]]></author>
			<pubDate>Thu, 25 Jun 2009 11:14:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=2937#p2937</guid>
		</item>
		<item>
			<title><![CDATA[Re: synchronizing offline databases with online ones]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=2936#p2936</link>
			<description><![CDATA[<p>I am not sure what you would gain, but you could do a nightly backup (mysqldump) and then restore that backup to the offline server.</p><p>Of course you would not be able to perform any updates to the offline db that would be retained.</p><p>tom</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Thu, 25 Jun 2009 10:46:29 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=2936#p2936</guid>
		</item>
		<item>
			<title><![CDATA[synchronizing offline databases with online ones]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=2933#p2933</link>
			<description><![CDATA[<p>Hi,<br />I am new to frontaccounting and I was wondering if it is possible to have one client be offline (and have a locally installed mysql server which he connects to) and at the end of the day &quot;connect and synchronize&quot; to the online server which everyone else is connected to. One of the users cannot be online all the time (no connection).</p><p>Any help would be appreciated.</p><p>THanks</p>]]></description>
			<author><![CDATA[null@example.com (marche)]]></author>
			<pubDate>Thu, 25 Jun 2009 03:40:51 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=2933#p2933</guid>
		</item>
	</channel>
</rss>
