Description
The db_file_generations option specifies the number of archived UBroker databases that should be stored. The following databases can be archived: bcomponent.db, scomponent.db, uems.db, ues.db and they will be archived on a rolling basis in a hidden .archive folder. The path for this folder on Windows is: C:\Program Files\Universal\spool\ubroker\.archive
and on Linux it is /var/opt/universal/spool/.archive
.
Usage
Method | Syntax | IBM i | HP NonStop | UNIX | Windows | z/OS |
---|---|---|---|---|---|---|
Command Line, Short Form | NONE | |||||
Command Line, Long Form | -db_file_generations count | |||||
Environment Variable | UBRDBFILEGENERATIONS count | |||||
Configuration File Keyword | db_file_generations count |
Value
count is the specification for the number of UBroker databases to be archived.
The range of valid values for this option is 0-5, where 0 disables archiving all-together while still recreating the new database.
Default value is 3.
Command Usage
The DB_FILE_GENERATIONS option is used when the data from a corrupted database is preferred to be stored, rather than deleted when recreating a new UBroker database.
This change removes the recreate_databases
option added in 7.3.0.0, to copy the functionality of the recreate_databases
option, simply set the value of the new db_file_generations
option to 0.