Hybrid sovereign business continuity for relational databases

This guide discusses patterns for relational database continuity across Sovereign Public Cloud and alternative clouds.

Relational database continuity requires a design that works across environments. The sovereign business continuity scenario patterns provide the authoritative framework for scenario scope, readiness states, minimum business capability, activation, return, and cross-environment responsibilities.

This guide applies that framework to relational database management systems (RDBMSs), using SQL Server and PostgreSQL as illustrative examples.

The guide is organized into three parts:

  • General database continuity patterns: preserve the application contract, recreate the database estate, and operate the cross-cloud data path.
  • Sovereign Private Cloud considerations: apply the general patterns to connected and disconnected Azure Local environments.
  • National Partner Cloud considerations: apply the general patterns across independently operated cloud environments.

Scope, availability, and qualification

Availability and lifecycle note. Service availability, support status, versions, SKUs, operating modes, and features can change. Before implementation, verify current product documentation and the selected environment’s service catalog and support policy. Product owners should revalidate every named feature before publication and implementation.

Scope and qualification. This article provides technical reference architecture guidance and illustrative patterns and databases ("Reference Materials"), which are provided for reference only, on an "as is" basis, and without warranties of any kind. Customers are solely responsible for validating the Reference Materials in their environment and for their final implementation and configuration. Microsoft assumes no responsibility or liability for any use of, reliance on, or results arising from the Reference Materials.

Applicability by target environment

The source–target relationship determines which database patterns you need and where to focus continuity preparation.

Target relationship Database-pattern applicability Most likely primary continuity work
Same Azure cloud instance Cross-cloud portability is generally unnecessary. Use platform capabilities to help meet your business continuity requirements. Use service-native availability, backup, geo-replication, and failover capabilities within approved regions. An example of such a capability is Azure SQL Database Active geo-replication.
Another Azure cloud instance Deployment constructs and application patterns might be reusable if the target cloud supports compatible services, API versions, SKUs, and configurations. Complete a service-parity assessment and validate the deployment. Cross-boundary data-movement considerations still apply. Confirm service parity. Move and reconcile data, identities, keys, connection configuration, and deployment artifacts across separate endpoints and control planes.
Non-Azure platform Some or all hybrid database continuity patterns might apply, based on customer assessment and validation. Recreate engines, HA/DR, backup, storage, authentication, key custody, patching, monitoring, and the complete data path.

General database continuity patterns

Customers can apply these patterns to any documented scenario that involves multiple target clouds, including Sovereign Public Cloud, Sovereign Private Cloud, and National Partner Clouds. These patterns might also apply to other alternative clouds that support the required database engines, but customers need to validate this support.

The target-specific sections build on these general patterns. The selected target cloud defines the operating model and the division of responsibilities between the operator and customer. Customers must validate those responsibilities. This guide doesn't make universal claims about them.

Database pattern 1: Keep a portable database contract in your applications

Outcome

Applications use relational database interfaces that are validated for compatibility across the selected environments. You can replace or recreate provider-specific implementations without changing the application contract, depending on the extensions, semantics, authentication, and behavior the workload requires.

Applies to scenarios

This pattern applies to the cross-environment scenarios identified in the scenario patterns (Public–Private and Public–NPC), whenever the customer requires an RDBMS contract to remain compatible across Sovereign Public Cloud and the selected Sovereign Private Cloud or National Partner Cloud environment.

Pattern

For each target, select an engine and implementation that's validated against the application’s protocol, schema, authentication, extensions, semantics, and behavior. Isolate target-specific capabilities from application logic and define how the application behaves when a capability is unavailable.

Use virtual machine or Kubernetes deployment models where supported. Validate storage, availability, backup, upgrade, and recovery operations for each target. Portability and degraded behavior are customer-validated design choices, not universal product characteristics.

Dependency class Database meaning Continuity consequence
Portable Standard protocol and portable deployment, such as a self-managed engine packaged consistently for supported virtual machine or Kubernetes targets. May allow reuse of the application contract and deployment definition while target-specific infrastructure and operations are recreated, where compatibility is validated.
Substitutable Provider-specific managed implementation behind the PostgreSQL or SQL Server-compatible interface, with provider-specific settings isolated from application logic. Change endpoints and configuration, then validate protocol compatibility, extensions, authentication, behavior, and performance. This change might reduce application changes when the target’s compatibility and operating characteristics are validated.
Anchored Dependency on provider-specific extensions, authentication assumptions, failover behavior, semantics, or data formats without an equivalent target. Refactor or redesign before continuity can be claimed. Record the accepted limitation when portability is deliberately traded for capability.

Key technical considerations

  • Maintain a dependency register for each RDBMS dependency: application interface, current implementation, portability class, target replacement, provider-specific features, owner, review date, and estimated substitution effort.
  • Validate implementation differences explicitly, including extensions, parameters, connection limits, maintenance windows, certificate-authority rotation, authentication, failover behavior, and performance.
  • Keep the application-facing contract stable: use compatible wire protocols and schemas, contain provider-specific extensions, and document any semantic differences the application must handle.
  • Keep configuration target-neutral: inject endpoints and credentials, isolate provider-specific settings in environment overlays, and avoid hard-coding service names, storage classes, resource identifiers, or provider-specific behavior.

The following comparison illustrates how the operating model might differ between Sovereign Public Cloud services and non-Azure continuity targets, subject to customer validation of the selected target’s current capabilities.

Capability Sovereign Public Cloud Non-Azure continuity target
Relational engine Platform-managed Azure SQL Database, Azure SQL Managed Instance, or Azure Database for PostgreSQL. Customer-operated SQL Server or PostgreSQL in virtual machines or containers; SQL Managed Instance enabled by Azure Arc on a supported Kubernetes cluster where its prerequisites and operating mode are accepted.
High availability Selected through zones, service tiers, and platform configuration. Explicitly designed through SQL Server availability groups or failover cluster instances, or PostgreSQL replication and failover topologies.
Storage and performance PaaS abstraction or managed disks with selectable performance tiers. Explicit target storage whose capacity, latency, and IOPS are properties of the physical platform.
Authentication and encryption Microsoft Entra authentication where supported by the selected managed database service and configuration. Windows authentication with customer-configured AD DS where supported by the selected database deployment, or engine-native authentication.
Patching and version currency Platform-operated for managed services. Customer-operated according to the selected engine, operating system or container, Kubernetes distribution, and target-platform lifecycle and support requirements.

Build-ahead obligations

Select a target engine that meets compatibility requirements for each continuity environment. Maintain target-specific connection and authentication configuration. Test the application against each target without relying on unavailable provider-specific features.

Database pattern 2: Maintain a re-creatable database estate

Outcome

When the continuity environment is dormant, you should be able to reproduce database engines, instance-level configuration, security objects, and target-specific resources from version-controlled infrastructure, configuration, and automation artifacts.

Applies to scenarios

This pattern primarily applies to the Redeploy to Sovereign Private Cloud, Recover from Sovereign Private Cloud, Redeploy to National Partner Cloud, and Recover from National Partner Cloud scenarios, where you must recreate a relational database estate in a dormant continuity environment. For the Extend with Sovereign Private Cloud and Extend with National Partner Cloud scenarios, the same artifacts support repeatable provisioning, replacement, and configuration of the running environment.

Pattern

Maintain each database deployment as a version-controlled set of artifacts. Depending on the implementation, include infrastructure definitions, images or installation automation, engine configuration, security objects, certificates, endpoints, jobs, backup settings, and replication settings.

For SQL Server, preserve or recreate the instance-level metadata, such as logins and jobs, required by the selected availability and recovery design.

For SQL Managed Instance enabled by Azure Arc, preserve the required Kubernetes resources and Secrets, supported cluster, Azure Arc-enabled data services extension, data controller, custom location, and storage-class definitions—or confirm that they can be recreated.

For PostgreSQL, preserve the required engine configuration, roles, extensions, persistence, backup definitions, and replication definitions. Validate the complete artifact inventory for every engine and target.

Key technical considerations

  • Align target versions with the selected replication and failback path and retain licenses and installation media or container images that remain obtainable without the source cloud.
  • Parameterize target-specific networking, storage paths, capacity, certificates, accounts, and endpoints instead of assuming source-cloud identifiers transfer.
  • Classify each relational database as a system of record or derived relational store. Recover systems of record to the approved recovery point and rebuild derived stores from the restored source of truth.
  • Optional implementation approach. For Kubernetes-based adaptive applications, evaluate Adaptive Apps with Radius SQL Server or PostgreSQL resources and environment-specific recipes. These resources help keep the application definition stable while platform operators provision target-specific database infrastructure. They don't replace instance-state automation or the data movement, recovery, and reconciliation procedures in database pattern 3.

Important

Preview capability: The referenced Radius data resources are preview capabilities and might change before general availability. This approach is optional, not a required or production-proven architecture component. Confirm lifecycle status, supported targets, and limitations before publication and implementation.

Engine form Sovereign Public Cloud artifact Alternative-target artifact
SQL Managed Instance ARM, Bicep, or Terraform resource definition. For SQL Managed Instance enabled by Azure Arc: Kubernetes custom resource and supported cluster, Azure Arc-enabled data services extension, data controller, custom location, Secrets, and storage-class definitions.
SQL Server in a virtual machine Virtual-machine infrastructure definition plus image or installation automation. Equivalent target virtual-machine definition; hardened image or Packer pipeline; Ansible, DSC, or scripted installation; and T-SQL scripts for instance-level state.
PostgreSQL in a virtual machine Virtual-machine definition plus image or installation automation. Equivalent target virtual-machine definition and PostgreSQL engine configuration, role, extension, backup, and replication definitions.
Database engine in Kubernetes Cluster, manifests, operators, charts, Secrets, storage classes, and images. Target-cluster definitions with the same portable workload assets, plus target-specific storage, networking, availability, backup, and registry configuration.

Build-ahead obligations

Maintain versioned infrastructure and engine definitions; target-local images and installation media; instance-state scripts; target-specific credentials; and storage and network parameters. Test the orchestration sequence for engine creation, configuration, data restore, and application cutover. If you use RADIUS with an adaptive app, validate the recipes for the selected target.

Database pattern 3: Select and operate the cross-cloud data path by recovery objective

Outcome

Each database should have a documented, measured data-transfer mechanism designed to meet the recovery point that the customer defines, accepts, and validates.

Applies to scenarios

This pattern applies to all cross-cloud scenarios in the scenario patterns. For Redeploy to Sovereign Private Cloud and Redeploy to National Partner Cloud, relational data moves from Sovereign Public Cloud to the prepared alternative cloud. For Extend with Sovereign Private Cloud and Extend with National Partner Cloud, the path supports ongoing placement or synchronization. For Recover from Sovereign Private Cloud and Recover from National Partner Cloud, it supports recovery into an approved Sovereign Public Cloud region.

Pattern

Select the cross-cloud data path according to customer-defined and validated recovery objectives.

SQL Server backup and restore and PostgreSQL backup mechanisms can support a dormant target when backup frequency, transfer time, and restore duration meet those objectives.

SQL Server replication and PostgreSQL replication can support a continuously operating target when measured lag, connectivity, target capacity, and operating procedures meet the objectives.

Each mechanism has distinct prerequisites and recovery characteristics. Establish, measure, and rehearse the selected path before disruption.

Key technical considerations

  • Choose the transfer method for each database based on the approved recovery objectives, database size, change rate, connectivity, and target operating model.
  • Measure replication lag, WAL or transaction-log delivery, backup freshness, transfer throughput, and restore duration rather than assuming the advertised mechanism meets the objective.
  • Define authority, write freeze or cutover behavior, reconciliation, failover, and return before opening writes in the continuity environment.
  • Rehearse the complete path in both directions where return is required, including loss of live connectivity and recovery from the maintained backup chain.
Approach Recovery-point characteristic Key design consequence
SQL Server backup and restore, including backup to Azure Blob Storage where appropriate Bounded by the latest recoverable full, differential, and transaction-log backup Can support a dormant target without a continuously running target database when the complete backup chain is reachable and the restore process has been validated against the customer’s recovery objectives.
SQL Server availability groups or distributed availability groups Continuous replication, with achievable replication lag determined by topology, workload, connectivity, configuration, and target capacity. Requires continuously running SQL Server replicas and connectivity sized for transaction-log movement. Instance-level objects that are outside the database remain recreation concerns under database pattern 2.
SQL Server log shipping Bounded by backup, transfer, and restore intervals Can be used to keep a secondary database copy ready for activation when backup, copy, and restore intervals meet the customer’s recovery objectives. The customer remains responsible for validated activation and return procedures.
Managed Instance link Continuous replication, with achievable replication lag determined by topology, workload, connectivity, configuration, and target capacity. Replicates between SQL Server and Azure SQL Managed Instance. Direction, failover, and failback depend on supported SQL Server versions, link mode, and matching update policies.
PostgreSQL streaming or logical replication and WAL shipping Continuous replication, with achievable replication lag determined by topology, workload, connectivity, configuration, and target capacity. Synchronous replication helps reduce data-loss exposure but might add latency; asynchronous replication accepts lag. Customers define promotion, client redirection, and reconciliation.
PostgreSQL base backup with continuous WAL archiving and point-in-time recovery Bounded by the continuous WAL archive and selected recovery point Can support dormant recovery targets or warm-standby designs when a valid base backup and continuous WAL sequence are available through the selected recovery point and the restore or promotion procedure has been tested.

Connectivity and seeding constraint

Live replication requires a network path that meets customer requirements for security, reliability, bandwidth, and latency. Depending on those requirements, use site-to-site VPN, ExpressRoute, or another supported hybrid or cross-cloud connectivity design.

Complete initial seeding before disruption and validate the required capacity. For backup-and-restore designs, ensure that the continuity environment can access the maintained backup chain.

Build-ahead obligations

Confirm that the selected replication, log-shipping, WAL-archiving, or backup-transfer path is configured and operating. Complete initial seeding, establish hybrid connectivity or backup access, and put monitoring in place. Rehearse cutover, reconciliation, restore, and return procedures.

Considerations for database patterns with Sovereign Private Cloud

Customers can apply Database patterns 1–3 to Azure Local based on the workload and database platform. The application contract, re-creatable estate, and cross-cloud data-path principles remain applicable when customer validation confirms them.

Implementation depends on the database deployment forms supported by the selected Azure Local operating mode and the compute and storage capacity of supported Azure Local systems. Customers manage database availability, backup, patching, monitoring, authentication, and key management. The following guidance addresses connected and disconnected operation; it doesn't define separate patterns.

Architecture and support scope

This guide provides architecture guidance, not a universal product-support statement. Validate support for the complete end-to-end configuration: individually supported products don't establish support for a combined topology. Support boundaries might differ among Microsoft services, an NPC operator, and customer-managed or third-party software.

Database concern Azure Local connected Azure Local disconnected Data path prepared while Azure is available
SQL Server SQL Server in Azure Local virtual machines using failover cluster instances or availability groups; SQL Managed Instance enabled by Azure Arc on a supported Kubernetes cluster, with AKS enabled by Azure Arc available as a Microsoft Kubernetes option for Azure Local, subject to validation of current support status, version requirements, operating-mode limitations, Azure Arc-enabled data services compatibility, and other prerequisites. SQL Server in pre-staged Azure Local virtual machines, with customer-operated availability, backup, authentication, and patching. Managed Instance link to supported SQL Server versions, availability groups over hybrid connectivity, log shipping, or backup transfer.
PostgreSQL Self-managed in virtual machines or containers. Same, from pre-staged images and locally available installation assets. Customer-operated logical or streaming replication, backup, and WAL shipping.
Relational storage Storage paths on cluster shared volumes; storage classes for stateful Kubernetes deployments; ReadWriteMany backup storage where required by Arc-enabled SQL Managed Instance. Uses Azure Local storage resources available in the disconnected configuration; capacity, write latency, and IOPS are measured properties of the deployed cluster. Capacity is reserved separately for data, transaction logs or WAL, temporary space, and backup chains.
Relational authentication and keys Microsoft Entra authentication where supported, Windows authentication with customer-configured AD DS where supported by the selected database deployment, or engine-native authentication. Windows authentication with customer-configured AD DS where supported by the selected database deployment, or engine-native authentication. Customers maintain and test the login, role, permission, and endpoint configuration required by the selected authentication design.
Relational backup Engine-native backup plus customer-selected backup tooling and independently held copies. Customer-selected tooling and engine-native backup, with an isolated copy inside the survivability boundary. Schedules, retention, chain verification, transfer frequency, and restore sequence are maintained and tested.

Azure Local-specific design considerations for database patterns

Customers applying database patterns 1 through 3 to Azure Local should consider the following implementation choices and prerequisites.

Connected and disconnected validation

Capabilities vary by Azure Local release, Kubernetes distribution, Azure Arc-enabled data services version, and configuration. Identify which provisioning, management, licensing, certificate, telemetry, backup, patching, and upgrade operations require Azure connectivity.

Verify that the selected Kubernetes environment supports the intended operating mode. Test whether staged Azure Arc-enabled data services continue operating under the designed loss-of-connectivity conditions.

  • Select an engine deployment form supported in the required operating mode. SQL Server can run in Azure Local virtual machines. SQL Managed Instance enabled by Azure Arc requires a supported Kubernetes cluster and Azure Arc-enabled data services prerequisites provisioned while connected.

AKS enabled by Azure Arc is a Microsoft Kubernetes option for Azure Local. Validate its support status, version requirements, operating-mode limitations, and compatibility with Azure Arc-enabled data services before selection. PostgreSQL is customer-operated in virtual machines or supported container environments.

  • Design and operate local high availability, backup, patching, monitoring, and authentication independently of Sovereign Public Cloud availability.
  • Pre-stage version-compatible images, installation assets, deployment definitions, instance-state scripts, and credentials required by the selected deployment.
  • Provide Azure Local storage paths and cluster shared volumes for virtual-machine deployments. For stateful Kubernetes deployments, provision the required disk CSI volumes or file CSI shares and storage classes in advance. Reserve capacity separately for data, transaction logs or WAL, temporary space, and backup chains.
  • Size compute, memory, data, transaction logs or WAL, temporary space, and backup capacity for the minimum service level. Measure write latency, IOPS, replication lag, backup freshness, transfer throughput, and restore duration against customer-approved recovery objectives; for SQL Server, write latency directly affects commit and replication acknowledgement.
  • Prepare the data path while Azure services and required connectivity are available, including initial seeding, backup access, replication or log shipping, cutover, reconciliation, and return procedures.

Scenario implementation notes for database patterns with Azure Local

Redeploy to Sovereign Private Cloud

Customers can keep Azure Local dormant before activation. Prepare compute, storage, deployment artifacts, installation assets, authentication, and recoverable backup or replication chains.

At activation, create the selected SQL Server or PostgreSQL instances as needed, recreate instance-level state, and restore data through the backup, transaction-log, WAL, export, or replication paths selected under database pattern 3.

Extend with Sovereign Private Cloud

Customers can operate the selected database engine, local availability topology, storage, identity, keys, backup, monitoring, and data path in Azure Local before disruption. Design and validate the environment to provide minimum capability when the public-cloud side is unavailable.

Reserve initial-seeding and replication capacity. Monitor lag and failure behavior. Define write authority, routing, conflict handling, reconciliation, traffic switching, failover, and failback when either environment is unavailable.

Recover from Sovereign Private Cloud

You can maintain a prepared Sovereign Public Cloud landing zone and tenant, target-aware infrastructure-as-code definitions for the required PaaS or virtual-machine database engines, and recovery copies accessible outside a potentially unavailable private environment.

Before relying on this path, confirm the approved region, service availability, capacity, controls, identities, keys, network access, and compatible target versions. At activation, recreate the approved target as needed, restore or re-establish data, and apply the defined reconciliation and return procedures.

National Partner Cloud database patterns

A National Partner Cloud is independently operated, with its own tenant, endpoints, identity, service catalog, capacity, and operator. Database services might remain managed where the operator offers the required service and SKU.

Before selecting an NPC continuity target, confirm eligibility, service and SKU availability, capacity, supported interfaces and versions, and operating responsibilities against the operator’s current documentation and service catalog. Cross-cloud networking must meet your requirements for security, jurisdiction, throughput, and recovery. Detailed network architecture is outside this guide’s scope.

Validate each illustrated database mechanism against the operator’s service catalog, capacity, supported APIs and versions, identity and network model, encryption prerequisites, ingress and egress paths, data-movement constraints, and tested procedures.

Database or data class Within one Azure cloud instance Across Sovereign Public Cloud and an NPC
Relational SQL Geo-replication, failover groups, and Managed Instance link where supported. After completing this validation for both endpoints, you can evaluate supported options such as transactional replication or log shipping between SQL Server virtual machines, BACPAC or backup export and import, or an ETL service supported by the selected environments.
PostgreSQL Service-native regional availability, backup, and replication according to the selected offering. Where both endpoints and the operator support the required versions, interfaces, identity, network, encryption, ingress, egress, and data-movement direction, you can evaluate PostgreSQL logical or streaming replication, WAL shipping, backup and restore, or a supported ETL approach.
Seeding, deltas, and cost Regional movement follows the selected service and Azure pricing model. Seed the largest copy while both clouds are available, then ship deltas. Throughput, Azure egress, NPC ingress or link cost, target storage, and reconciliation determine feasibility.
Recovery direction Defined by the service-native failover topology. Defined by your approved continuity design and permitted data flows. Depending on the scenario, this definition might include Azure-to-NPC movement, NPC-local authoritative data, deployment-only recovery into Azure, or recovery-data movement where permitted.

National Partner Cloud-specific design considerations for database patterns

Customers can extend database patterns 1 through 3 with National Partner Cloud-specific considerations. Treat the National Partner Cloud as a separate, independently operated cloud. Validate eligibility, tenant readiness, service and SKU availability, capacity, endpoints, identities, keys, deployment artifacts, connectivity, and operator responsibilities.

For each database, define the authoritative data location, synchronization direction, consistency model, write authority, conflict handling, reconciliation, and recovery direction. Validate customer-defined data-movement constraints and permitted recovery-data flows before selecting replication, backup-transfer, export, or recovery mechanisms. This guide doesn't define those constraints.

  • Treat the National Partner Cloud as a separate Azure cloud instance. Maintain target-specific tenants, endpoints, identities, keys, subscriptions, policies, deployment parameters, and operational procedures rather than assuming source-cloud configuration transfers.
  • Validate operator responsibilities, service and SKU parity, supported versions, capacity, controls, and network reachability before selecting the National Partner Cloud as a continuity target.
  • Replace database capabilities that depend on one Azure control plane with customer-operated transfer and recovery processes between external endpoints, and measure the resulting recovery point and recovery time.
  • Seed the largest data copy while both clouds are available, then transfer deltas. Assess link throughput, Azure egress, National Partner Cloud ingress or link cost, target storage, transfer frequency, and reconciliation before relying on the path.
  • Define the authoritative data location, permitted-data rules, synchronization direction, consistency model, write authority, conflict handling, reconciliation, and behavior when either cloud or the connecting link is unavailable.
  • Determine whether moving backups, replicating data, or exporting data out of the National Partner Cloud aligns with business requirements and applicable constraints. Maintain a deployment-only recovery path from approved artifacts and data sources where recovery data isn't permitted to leave the National Partner Cloud.

Scenario implementation notes for database patterns with a National Partner Cloud

Redeploy to a National Partner Cloud

Customers can keep the National Partner Cloud target dormant before activation, with the tenant, target-aware deployment artifacts, identity, keys, storage, and data prerequisites prepared.

At activation, customers can attempt to deploy the selected relational service and restore data through the tested external-endpoint path selected under database pattern 3. Deployment and recovery remain subject to current service availability, capacity, compatibility, and validated procedures.

Extend with a National Partner Cloud

Customers can operate the selected database services continuously in the National Partner Cloud. Retain data there according to customer requirements and expose only derived or otherwise permitted data to workloads in Sovereign Public Cloud.

Prepare independent identity and key paths, capacity, monitoring, cross-cloud transfer tooling, and tested reconciliation and return procedures.

Recover from a National Partner Cloud

Customers might maintain a sovereign public cloud landing zone, target-aware database deployment artifacts, capacity, and recovery procedures. Check whether moving backups, replicated data, or exports is permitted and available.

If recovery data can't leave the National Partner Cloud, maintain a deployment-only recovery path from approved artifacts and data sources. If movement is permitted, maintain and test the transfer and restore path. For either design, define authority, reconciliation, activation, and return conditions.