Cutting Over to Restored Data
Cutover makes restored data writable production state. Stop the former installation and prepare the restored security state before reopening access.
Before you start #
Stop all writers to the original installation and isolate the restored target. First keep an independently verified backup of any surviving current production state. Cutover deliberately requires an operator action outside the browser.
Prepare the target #
Run preparation against the verified target:
Preparation requires a verified, stopped target. It rechecks the restored
data, then transactionally revokes all restored browser, CLI and MCP
sessions, clears in-flight authentication/setup grants, and discards pending
push deliveries. Old notifications are marked read/resolved, retaining their
historical records. Users and external clients must authenticate again.
Passwords and
MFA enrollment remain; credentials legitimately changed after the backup have
rolled back, so apply any known post-backup account disables/password changes
before reopening access. Preparation is repeatable and records
prepared.json; it does not switch traffic.
Restore and cutover preparation attempt to stop their isolated PostgreSQL
process on failure, using a separate cleanup timeout even if the operation was
canceled. A cleanup failure is reported alongside the original error. If the
error includes stop recovery PostgreSQL, inspect the target's PostgreSQL log
and confirm that its process has stopped before retrying or removing the
target.
Switch the installation #
Configure production PostgreSQL explicitly (including WAL archiving, authentication, network bindings, and paths), preserving the recovered data and matching key/release. Do not reuse the verification configuration as a production configuration. Start Acta against that target with recovery mode disabled, validate locally, then switch the service/proxy. Re-provision push subscriptions after sign-in. Keep the former installation stopped to avoid two writable copies. Take and drill a new full backup after cutover before resuming ordinary retention.
Check the result #
Confirm that the former installation remains stopped, users authenticate against the restored installation, and a new full backup passes its restore drill.