Use server read-only mode

Change the Unity Version Control (UVCS) server between normal mode and read-only mode.

When the server is in read-only mode, the server only allows read operations, so no data changes. This is useful with the Jet back end because it allows you to perform backup operations without stopping the server.

To change read-only mode, use the cm admin readonly command.

Note: Only the UVCS server administrator can run this command.

Enter read-only mode

To enter read-only mode, run the command: cm admin readonly enter.

The command waits for all current write operations to end before it switches the server to read-only.

Leave read-only mode

To leave read-only mode, run the command: cm admin readonly leave.

Retrieve read-only status

To retrieve the read-only mode status, run the command: cm admin readonly status.