Start of change

Backing up the Message Brokers Toolkit workspace

The Message Brokers Toolkit workspace contains your personal settings and data, such as message flow and message set resources. On Windows, the default workspace directory is created at C:\Documents and Settings\user\IBM\wmbt6.0\workspace, and on Linux, the default workspace directory is created at /home/user/IBM/wmqi6.0/workspace, where user is the user name with which you are logged on.

You can have multiple workspaces in different locations and you can have references to projects that are in other locations as well, so consider all of these locations when you back up your resources.

The workspace directory contains a directory called .metadata, which contains your personal settings and preferences for the Message Brokers Toolkit. If the .metadata directory gets corrupted, you lose these settings and the Message Brokers Toolkit reverts to the default layout and preferences; if you have not backed up the .metadata directory, you must manually set any preferences again and import any projects, such as message flow projects, that were displayed in the Resource Navigator view. To back up the .metadata directory, just take a copy of the directory.

In addition to the .metadata directory, in the workspace, there is a directory for each project that you have created in the Message Brokers Toolkit, including message flow projects, message set projects, and server projects. These directories contain your data, which should be backed up. There are various ways that you can back up the data in your workspace, including the following three methods:
  • Export the projects from within the Message Brokers Toolkit. You can export the projects directly as a zip file. For instructions, see Exporting in the Eclipse Workbench User Guide.
  • Copy the project directories from the workspace directory to another location.
  • When you add resources to a broker archive (bar) file ready for deployment, you can select the Include source files check box which adds the message flow and message set source files, as well as the compiled files, to the bar file. You can then take copies of the bar file to back up its contents.

To restore the resources, copy the directories back to your workspace directory and import the projects. For instructions, see Importing in the Eclipse Workbench User Guide.

Related concepts
Resources
Customizing the Workbench - Workbench User Guide
Related tasks
Backing up resources
End of change