Compares the security backup file essbase_timestamp.bak to the security file essbase.sec and overwrites the backup file with the security file if the two files do not match.
Syntax
ESS_FUNC_M EssUpdateBakFile (hCtx);
Parameter | Data Type | Description |
---|---|---|
hCtx; | ESS_HCTX_T | Context handle |
Notes
Essbase compares the security file and the backup file every time the server starts. The MaxL statement alter system sync security_backup can be used to automatically compare the security backup file to the security file at specified intervals or on demand. When Essbase compares the files, it updates the backup file to match the security file.
Return Value
If successful, returns zero.
Access
This function requires the caller to be an Administrator.
Example
ESS_FUNC_M ESS_UpdateBakFile (ESS_HCTX_T hCtx) { ESS_FUNC_M sts = ESS_STS_NOERR; sts = EssUpdateBakFile(hCtx); return sts; }