Service integration backup
We should back up your service integration setup on a regular basis so that it can be restored in the event of an unrecoverable failure.
For service integration, these are the main components that we can back up:
- Configuration files
- The configuration of a service integration setup is stored as XML files. To back up or restore these configuration files, use the relevant command as detailed in Back up and restore administrative configuration files. Any backup or restore of a service integration setup must include a backup or restore of the configuration files.
- Data stores accessed by the messaging engines
- Back up and restore your data stores is optional. As messages are transient in nature, we might not want to back up or restore the data stores.
- If we do not back up the data stores, and you modified your current configuration since it was last backed up, when we restore the configuration backup be aware that we might lose messages. For example, if you back up the configuration and then create a bus destination, when we restore the configuration backup the bus destination will no longer exist. Any messages for this destination will be deleted when the server that hosted that messaging engine is restarted.
- If we do back up your data stores, we must also back up the configuration files. We must back up or restore the configuration files at the same time as the data store is backed up or restored. Back up and restore at the same time maintains the consistency of the system and reduces the possibility of losing or duplicating messages from the time of the backup.
To back up a data store, see Backing up a data store.
- File stores accessed by the messaging engines
- Back up and restore the file stores is optional. As messages are transient in nature, we might not want to back up or restore the files. To back up a file store, see Backing up a file store.
If we have multiple servers, we should ideally back up all the servers at the same time, otherwise messages from the time of the backup might be lost or duplicated. We should also minimize message traffic to reduce the possibility of losing or duplicating messages.
When we restart a messaging engine after restoring a backup, we should take steps to minimize loss of messages. See Restore a data store and recovering its messaging engine.
Backing up a data store Backing up a file store Restore a file store Restore a data store and recovering its messaging engine