If we want to create a copy of the existing cluster we can use the below template to create the new citus cluster using the point time restore.
Example: Parameter file:
{
“$schema”: “https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#”,
“contentVersion”: “1.0.0.0”,
“parameters”: {
“sourceResourceId”: {
“value”: “/subscriptions/xxxxxxxxxxxxxxxxxxxxx/resourceGroups/xxxxxxxxxxx/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/tes”
},
“location”: {
“value”: “eastus2”
},
“sourceLocation”: {
“value”: “eastus2”
},
“enableGeoBackup”: {
“value”: false
},
“serverGroupName”: {
“value”: “test1aug”
},
“pointInTimeUTC”: {
“value”: “2023-08-27T02:38:30.000Z”
}
}
}