Backing up resources

Brokers and the Configuration Manager rely on a database manager to maintain and control their configuration data. Brokers, the Configuration Manager, and the User Name Server rely on WebSphere MQ to transport and guarantee messages between components. You must establish a backup process that includes these sources of information to preserve the integrity and consistency of your broker domain.

  1. Back up database tables frequently and on a regular basis to prevent loss of configuration data if damage occurs.

    Back up all configuration repository tables and the following broker database tables:

    • BSUBSCRIPTIONS
    • BCLIENTUSER
    • BUSERCONTEXT
    • BRETAINEDPUBS
    • BPUBLISHERS
    • BMQPSTOPOLOGY

    See Database contents for a complete list of all databases tables.

    The broker's configuration is completed when it is redeployed by the Configuration Manager when the broker domain is restarted. This re-creates the remaining database tables.

    The configuration repository tables contain associated data: you must coordinate their backup procedures to ensure that a consistent image is available if recovery is necessary. The complete set of tables in this repository is listed in mqsicreateconfigmgr command.

    If your message flows use any user-defined database tables, also back these up.

    Refer to the appropriate database documentation for details of backup procedures.

  2. Back up WebSphere MQ configuration data. Refer to WebSphere MQ System Administration for further details.
  3. Consider backing up files that are created by users of the workbench. When a workbench user saves a workspace, the workspace XML document, any newly created objects, and any checked out objects are saved to the local file system. Tell users to back up this data by exporting the workspace and backing up the XML documents created (in a file) by the export. Similarly, export and back up message sets.

Related tasks
Recovering after failure

Related reference
Supported databases
Database contents
mqsicreatebroker command
mqsicreateconfigmgr command