Block and unblock the database server

This section shows the syntax of the block and unblock commands.


1  onmode  -c
1 block
1 unblock
Element Purpose Key considerations
-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