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


bucardo add table sales

Adds the table named sales to Bucardo.


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

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 herd can be specified as well: all new tables will be added to this herd. The herd will be created if it does not already exist.


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

See also: