This feature is in and subject to change. To share feedback and/or issues, contact Support.
- Cutover from the primary cluster to the standby cluster.
- Cutback from the original standby cluster (after it was promoted during cutover) to the original primary cluster.
- Job management after a cutover or cutback.
Cutover and cutback do not redirect traffic automatically to the standby cluster. Once the cutover or cutback is complete, you must redirect application traffic to the standby (new) cluster. If you do not redirect traffic manually, writes to the primary (original) cluster may be lost.
Cutover
The cutover is a two-step process on the standby cluster:Before you begin
During PCR, jobs running on the primary cluster will replicate to the standby cluster. Before you cut over to the standby cluster, or cut back to the original primary cluster, consider how you will manage running (replicated) jobs between the clusters. Refer to Job management for instructions.Step 1. Initiate the cutover
To initiate a cutover to the standby cluster, you can specify the point in time for the standby’s promotion. That is, the standby cluster’s live data at the point of cutover. Refer to the following sections for steps:LATEST: The most recent replicated timestamp.- Point-in-time:
- Past: A past timestamp within the .
- Future: A future timestamp for planning a cutover.
Cut over to the most recent replicated time
To initiate a cutover to the most recent replicated timestamp, you can specifyLATEST when you start the cutover. The latest replicated time may be behind the actual time if there is in the stream. Replication lag is the time between the most up-to-date replicated time and the actual time.
-
To view the current replication timestamp, use:
-
Run the following from the standby cluster’s SQL shell to start the cutover:
The
cutover_timeis the timestamp at which the replicated data is consistent. The cluster will revert any replicated data above this timestamp to ensure that the standby is consistent with the primary at that timestamp:
Cut over to a point in time
You can control the point in time that the PCR stream will cut over to.-
To select a in the past, use:
The
retained_timeresponse provides the earliest time to which you can cut over. -
Specify a timestamp:
Refer to for more information. Similarly, to cut over to a specific time in the future:A future cutover will proceed once the replicated data has reached the specified time.
replication_job_id, which you can pass to SHOW JOB WHEN COMPLETE job_id as the job_id. Refer to the SHOW JOBS page for and an .
Step 2. Complete the cutover
-
The completion of the replication is asynchronous; to monitor its progress use:
Refer to for the and of
SHOW VIRTUAL CLUSTER... WITH REPLICATION STATUSfields. -
Once complete, bring the standby’s virtual cluster online with:
-
To make the standby’s virtual cluster the default for connection strings, set the following :
Cut back to the primary cluster
After cutting over to the standby cluster, you may need to move back to the original primary cluster, or a completely different cluster. This process is manual and requires starting a new PCR stream. For example, if you had between a primary and standby cluster and then cut over to the standby, the workflow to cut back to the original primary cluster would be as follows:- Original primary cluster = Cluster A
- Original standby cluster = Cluster B
- Cluster B is now serving application traffic after the cutover.
- Drop the application virtual cluster from the cluster A with .
- Start a PCR stream that sends updates from cluster B to cluster A. Refer to .
Job management
During a replication stream, jobs running on the primary cluster will replicate to the standby cluster. Once you have completed a cutover (or a cutback), refer to the following sections for details on resuming jobs on the promoted cluster.Backup schedules
will pause after cutover on the promoted cluster. Take the following steps to resume jobs:- Verify that there are no other schedules running backups to the same , i.e., the schedule that was running on the original primary cluster.
- Resume the backup schedule on the promoted cluster.
If your backup schedule was created on a cluster in v23.1 or earlier, it will not pause automatically on the promoted cluster after cutover. In this case, you must pause the schedule manually on the promoted cluster and then take the outlined steps.

