Block and unblock database server
This topic shows the syntax of the block and unblock commands on HCL OneDB™.
Element | Purpose | Key considerations |
---|---|---|
onmode -c | Performs a checkpoint and blocks or unblocks the database server | None. |
block | Blocks the database server from any transactions | Sets up the database server for an external backup. While the database server is blocked, users can access it in read-only mode. Sample command: onmode -c block |
unblock | Unblocks the database server, allowing data transactions and normal database server operations to resume | Do not unblock until the external backup is finished. Sample command: onmode -c unblock |