See information about the latest product version
Backing up the WebSphere Message Broker Explorer and WebSphere Message Broker Toolkit workspace
The WebSphere® Message Broker Explorer and WebSphere Message Broker Toolkit workspaces contain your personal settings and data, such as message flow and message set resources. You can have multiple workspaces in different locations, and you can also have references to projects that are in other locations, therefore consider all these locations when you back up your resources.
On Windows XP and Windows Server 2003: C:\Documents and Settings\<userid>\IBM\MQ Explorer\<server project>\.
On Windows Server 2008, the default workspace directory is created at C:\Users\user_ID\IBM\MQ Explorer\<server project>\.
On Linux, the default workspace directory is created at /home/user_ID/IBM/MQ Explorer\/<server project>/.
The default workspace directory for the WebSphere Message Broker Toolkit depends on the platform on which it is running:
On Windows XP and Windows Server 2003: C:\Documents and Settings\user_ID\IBM\wmbt80\workspace.
On Windows Server 2008: C:\Users\user_ID\IBM\wmbt80\workspace.
On Linux: /home/user_ID/IBM/wmbt80/workspace.
where user_ID is the user name with which you are logged on. Back up files in these locations, and in all other locations in which you have saved workspace files.
The WebSphere Message Broker Toolkit workspace directory contains a directory called .metadata, which contains your personal settings and preferences for the WebSphere Message Broker Toolkit. If the .metadata directory gets corrupted, you lose these settings, and the WebSphere Message Broker Toolkit reverts to the default layout and preferences. If you have not backed up the .metadata directory, you must manually set all preferences again, and import all projects, such as message flow projects, that were displayed in the Broker Development view. To back up the .metadata directory, take a copy of the directory.
The WebSphere Message Broker Toolkit workspace also contains a directory for each project (for example, a message flow project) that you have created in the WebSphere Message Broker Toolkit. These directories contain your data, which you must back up.
Use one of the following methods to back up the data in your workspace; the instructions are the same for both the WebSphere Message Broker Explorer and the WebSphere Message Broker Toolkit.
- Export your working projects. You can export the projects directly as a compressed file. For further information, see Exporting in the Eclipse Workbench User Guide.
- Copy the project directories from the workspace directory to another location.
- WebSphere Message Broker Explorer only: Export all .broker connection files to save the details of connections to all your brokers.
- WebSphere Message Broker Toolkit only: Take copies of all your BAR files to back up their contents. Include all the associated source files when you build your broker archive (BAR) files; you can then save all content by saving only the BAR file. To add resources to a BAR file that is ready for deployment, select Include source files, which adds the message flow and message set source files, and the compiled files.
If you want to restore the resources, copy the directories back into your workspace directory and import the projects. For instructions, see Importing in the Eclipse Workbench User Guide.