Configuration

These are the system properties you can configure to customize the backup and restore behaviour.

Table 5. Backup and restore system properties
Property Default value Description

tribe.backup.restore.shutdownOnFailure

true

On restore, if an error happens, the server will be shutdown to prevent the operation with faulty data.

tribe.backup.restore.truncate

false

Will delete all configurations and replace them with the ones in the backup

tribe.backup.folder.path

…​/backups

Full path of the folder containing the backups

With docker, you can also use volumes to specify a folder in the host computer as the backup folder. The following command will truncate the configuration on restore and set the backups folder to an external volume at /home/<your user>/backup:

docker run -it --name tag -e LICENSE=accept  \
-e CATALINA_OPTS='-Dtribe.backup.restore.truncate=true'  \
-p 8080:8080 -v ~/backups:/opt/tag/backups  \
tomitribe/tribestream-api-gateway