SafDiskRepairMode coding group

Defines the disk repair mode in case of a SaF database corruption.

Lua access code

To access the code of the codings below, append the coding group name and coding name to syslib.model.codes, see an example below.

return syslib.model.codes.SafDiskRepairMode.DESTROY

Codings

Name Code Description
DESTROY 4 Destroy the Store and Forward disk database if it is corrupted (instead of trying to repair it)
NONE 1 Do not try to repair the Store and Forward disk database
REPAIR 2 Try to repair the Store and Forward disk database. Data loss may occur. If repairing fails, the configured fallback mode will be entered
REPAIR_OR_DESTROY 3 Try to repair the Store and Forward disk database. Data loss may occur. If repair fails, the database will be destroyed and all persisted SaF data lost.