Bucardo

Last updated: 2020-02-28

The add table command is used to teach Bucardo about a table.

Example:

# Adds the table named "sales" to Bucardo.
bucardo add table sales

Usage:

bucardo add table <name(s)> [relgroup=relgroup]

Adds one or more tables: the schema is optional: if not given, will add all tables with that name regardless of schema. Wildcards can be used as well: the preferred form is a percent sign (%) as the wildcard. A relgroup can be specified as well: all new tables will be added to this relgroup. The relgroup will be created if it does not already exist.

To add all the tables in the database, run:

bucardo add all tables

Internals

New tables cause an insert to the goat table. A new relgroup causes an insert to the herd table. Adding a table to a relgroup results in an insert to the herdmap table.

Optional arguments:

  • autokick
    • Set whether or not table should automatically send kick messages when it’s modified. Defaults to the setting of the “sync”.

See also:

Bucardo.org is hosted and supported by End Point Dev

End Point Dev logo

Need assistance with Bucardo?

End Point Dev offers professional support for Bucardo, as well as specializing in developing, designing, and marketing effective websites. Since 1995, our diverse team of developers has shown that End Point can handle your organization’s greatest web and database challenges.