[Bucardo-general] running Bucardo 4 & 5 in parallel?

Greg Sabino Mullane greg at endpoint.com
Fri Jan 20 17:33:12 UTC 2012

> I've got a nice Bucardo 4 setup, but as I'm facing adding new databases
> to it, I'm thinking Bucardo 5 would be the way to go (especially one I'd
> like to replicate over a WAN link).
> The perl part and executable seems straightforward enough - the paths
> could be specified with 'use lib' or the module could be called
> Bucardo5.pm.  I could rename bucardo_ctl to bucardo5_ctl, etc.
> But the bucardo database part I'm not too sure about.  Could I create a
> bucardo5 database and stand a chance of things just working or should I
> be thinking of searching for lots of hard-coded database names?
> If there's a better way to be thinking about this, I'd like to know that
> too.  At some point I'll want to move the Bucardo 4 databases over to
> Bucardo 5 as well.

If I recall correctly, the biggest danger was the triggers and internal 
tables. That is somewhat solved by bucardo4 using a generic bucardo_delta 
and bucardo5 using table-specific ones. I adjusted some trigger and 
function names a while back, but I think there are still a few more 
conflicts to work out there. If b4 and b5 are not sharing tables or 
databases then things are much easier, of course.

Another thing is to make sure you specify separate PID directories.

Long term, it would be nice to have some sort of guide to migrating 
from b4 to b5. Or even a tool. Any takers? :)

Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20120120/8d8ac6db/attachment.bin 

More information about the Bucardo-general mailing list