Sun GlassFish Message Queue 4.4 Update 1 Installation Guide

ProcedureTo Back Up and Restore Broker Instance Data and Configuration Details

To preserve broker instance data and configuration details from your previous Message Queue installation, perform the following procedure before you remove your previous installation.

  1. Before you uninstall the previous installation of Message Queue, copy Message Queue data to a temporary location.

    • For Message Queue 4.4 and above, run the following commands:

      cp -r mqInstallHome/etc/mq/* MQ_SAVE/etc

      cp -r mqInstallHome/var/mq/* MQ_SAVE/var

    • For Message Queue versions older than 4.4, run the following commands:

      cp -r mqInstallHome/mq/etc/* MQ_SAVE/etc

      cp -r mqInstallHomemq/var/* MQ_SAVE/var

    where MQ_SAVE is a temporary directory.

    You can proceed to uninstall the older version of Message Queue.

  2. After installing Message Queue 4.4 Update 1, perform the following steps:

    cp -r MQ_SAVE/etc/* to mqInstallHome/etc/mq

    cp -r MQ_SAVE/var/* to mqInstallHome/var/mq

    where MQ_SAVE is the temporary directory you used in Step 1.