Despite all precautions, it may happen that you want to recover from data loss or want to go back to an older state of the Bridge. In this case, you may want to load a backup of a previous state of the Bridge.
Depending on the operating system, a Bridge installation consists of the following components:
Operating System | OS Specific Data | Bridge Folders |
---|---|---|
Windows | Windows registry entry |
|
Linux | scripts and configuration files from directory /etc |
The operating system specific data and the program directory can be recovered by performing a Bridge installation of the very same version (see Loading a Bridge Backup below). Nevertheless, you can take a filesystem backup of these items.
Whereas, the Bridge data directory cannot be recovered from a Bridge installer and needs to be backup-ed from the filesystem. To do so, you can use any tool of your choice. You do not need to shutdown services or the Bridge while you are taking the backup.
If the backup takes a big amount of disk space, you may leave out the following folders and files:
<your Bridge data directory>/backup
<your Bridge data directory>/servlets/logs
This folder contains additional Bridge logs.
<your Bridge data directory>/bridge_<service name>/logs
<your Bridge data directory>/nodejs_<service name>/logs
<your Bridge data directory>/java_<service name>/logs
This folder contains the logfiles of the corresponding service.
<your Bridge data directory>/bridge_<service name>/
tmp
<your Bridge data directory>/bridge_<service name>/
trace.db*
Folder tmp
contains trace information of the corresponding service, the trace.db files contain meta data about trace information of the corresponding service. If you exclude tmp
from backup, you should also exclude the corresponding trace.db
files.The mentioned files may contain helpful information but are not necessary to recover and operate the services on the Bridge. Especially the logfiles may grow by the time and may lead to big backup files.
If you have backup-ed the complete Bridge installation with one filesystem backup, you can recover your Bridge installation as follows:
If you have backup-ed the Bridge data files separately with a dedicated filesystem backup, you can recover your Bridge installation as follows: