473,396 Members | 1,989 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Replication of tables

I am having two DB in postgres. Need proper exapmple for 'rubyrep' tool , to replicate all the tables in A database to B data base.

My sync.conf file is,
-----------------------


RR::Initializer::run do |config|
config.left = {
:adapter => 'postgresql',
:database => 'savithri',
:username => 'savithri',
:password => 'savithri',
:host => '192.168.1.200',
:port => '5432'
}

config.right = {
:adapter => 'postgresql',
:database => 'savithri',
:username => 'savithri',
:password => 'savithri',
:host => '192.168.6.5',
:port => '5432'
}

config.include_tables 'a',
:sync_conflict_handling => :right_wins,
:logged_sync_events => :ignored_changes
end

Then I run the command as, rubyrep replicate -c sync.conf.

It is telling error. Kindly solve this...
May 11 '10 #1
1 2348
improvcornartist
303 Expert 100+
I'm guessing you have already seen this documentation, but it looks like you may just have to check the include_tables syntax. Not sure how all this works, though.
May 11 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: MariaGuzman | last post by:
Hi, i restored a backup from a database thas has replication configured. When i restored it the system tables that the merge replication creates are restored too. I was investigating on internet...
9
by: Jan Wieck | last post by:
Dear community, for some reason the post I sent yesterday night still did not show up on the mailing lists. I have set up some links on the developers side under...
1
by: Gert van der Kooij | last post by:
Hi, We are replicating over 200 tables from each production 'server' (13 at the moment, about 140 when all are configured) and noticed a large amount of additional IO's after activating...
5
by: Odd Bjørn Andersen | last post by:
I have a problem when using Replication Center on version 8.2 (fixpack 9) when I try to manage my SQL Replication environment. When I add existing Apply Control Servers I am not able to see...
8
by: Ondine | last post by:
Hi I have a client running an Access 2000 database on a small network with 3 pc's. Two of the laptop pcs have a data replica, which they use when not connected to the network, the 'server'...
4
by: Andi Plotsky | last post by:
I need to synchronize 3 databases (1 Master and 2 replicas). I thought I'd give the Replica feature in Access2000 a whirl. I'm not sure I'm THAT impressed.....but maybe I'm just doing something...
3
by: dlesandrini | last post by:
I need advice about my decision to go with Replication in general. This post was placed on the Microsoft Replication newsgroup, but I really value the feedback that comes from this group as well. ...
9
by: David W. Fenton | last post by:
See: Updated version of the Microsoft Jet 4.0 Service Pack 8 replication files is available in the Download Center http://support.microsoft.com/?scid=kb;en-us;321076 This includes the Jet 4...
3
by: Gert van der Kooij | last post by:
Hi, Our SQL Replication is between DB2 databases on Windows servers. I'm searching for the document which tells me how to migrate our SQL Replication environment from V8 to V9 (we also need to...
3
by: Veeru71 | last post by:
We have got 2 DB2-UDB databases (DB1 & DB2) running on separate instances( Inst1 & Inst2). DB1 has got Schema1 and DB2 has got Schema2. We would like to setup some kind of replication to...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.