az postgres flexible-server restore can change compute during point-in-time restore
Introduced 2026-10-06 · score 0.95
HOW TO USE IT
For a point-in-time restore with a selected compute tier and SKU, run `az postgres flexible-server restore` with the source server, target server details, restore time, `--tier`, and `--sku-name`.
az postgres flexible-server restore --resource-group <target-resource-group> --name <target-server> --source-server <source-server> --restore-time <UTC-ISO8601-time> --tier MemoryOptimized --sku-name Standard_E2ds_v4WHY THIS HELPS
Restore a PostgreSQL flexible server to a point in time while selecting its compute SKU and tier.
REQUIREMENTS AND LIMITATIONS
- Version: 2.91.0
- --source-server (required): Name or resource ID of the source server to restore from.
- --restore-time: Point-in-time restore timestamp in UTC, in ISO 8601 format; defaults to the current time.
- --name: Name of the target server; the example uses it to name the restored server.
- --resource-group: Resource group for the target server; the example supplies it explicitly.
- --sku-name: Compute SKU name, following the `Standard_{VM name}` convention.
- --tier: Compute tier; accepted values are Burstable, GeneralPurpose, and MemoryOptimized. The documentation does not state that `--tier` and `--sku-name` are mutually exclusive.
FIRST-PARTY EVIDENCE
- https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#october-06-2026
- https://learn.microsoft.com/cli/azure/postgres/flexible-server
Check the installed version and the source before using it. Entry JSON