Open SwapnilB19 opened 3 weeks ago
Thanks for raising this issue. Azure Portal indicates that geoRestore doesn't support them in same region.
I have tried using create_mode = "PointInTimeRestore" for same region, it worked fine and able to restore the database in same region. When we want to use the backup in the same region, we should use PITR and when we need the backup in different region we should use "GeoRestore" in case of disaster.
Is there an existing issue for this?
Community Note
Terraform Version
1.2.4
AzureRM Provider Version
3.109.0
Affected Resource(s)/Data Source(s)
azurerm_postgresql_flexible_server, azapi_resource
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Restore operation should complete successful in same region.
Actual Behaviour
Failing to restore in same region.
Steps to Reproduce
I am trying to do restore of azure flexible postgres server on which geo redundant backup is enabled. From azure portal able to restore in same region instead of paired region. But from terraform I am getting error while running terraform.
Important Factoids
No response
References
No response