Restore MinIO Protected Domain (Cloud to Cloud)
This request starts the task to restore a MinIO protected domain from an S3 object store to a primary/recovery site in the cloud.
Usage:
POST on /domains/minios3/{domainId}/c2crecover
Request URL:
https://<MS hostname>/jss/domains/minios3/{domainId}/c2crecover
Header:
fios-session:vc_sessionId
Request:
{
"datacenterId": "Datacenter:datacenter-1718",
"clusterId": "ClusterComputeResource:domain-c1739",
"datastoreId": "Datastore:datastore-1744",
"resourcePoolId": null,
"vmFolderId": null,
"networkMapping": [
{
"srcNetworkId": "Network:network-131",
"destNetworkId": "Network:network-1745"
}
],
"rocvaNetworkSettings": {
"internalNetwork": {
"networkId": "Network:network-1745",
"staticIp": false,
"ipAddress": null,
"vlanTag": null,
"defaultGateway": true,
"netmask": null,
"dns": null,
"gateway": null
},
"replicationNetwork": {
"networkId": "Network:network-1745",
"staticIp": false,
"ipAddress": null,
"vlanTag": null,
"defaultGateway": true,
"netmask": null,
"dns": null,
"gateway": null
},
"mgmtNetwork": {
"networkId": "Network:network-1745",
"staticIp": false,
"ipAddress": null,
"vlanTag": null,
"defaultGateway": true,
"netmask": null,
"dns": null,
"gateway": null
}
},
"retainMac": false,
"powerOff": false,
"drvaId": 1,
"diskId": "6000c29e5af05970c7816336295134b0",
"sectionSize": 15728640,
"estimatedDataSize": 209715200
}
Response:
{
"completedAt": null,
"description": "Restore Domain",
"errorCode": null,
"errorMessage": null,
"errorTargets": [],
"id": 134,
"longRunning": false,
"maxtime": 300000,
"parentTaskId": null,
"progress": 1,
"progressStatusCode": 10001,
"startedAt": null,
"state": "Initializing task",
"submittedAt": "1646039421153",
"submittedBy": "VSPHERE.LOCAL\\Administrator",
"successDetailCode": null,
"successDetailMessage": null,
"successDetailParams": null,
"target": "44708ca4-9868-11ec-8884-005056bbc14c",
"targetName": "Domain1_MINIO-S3",
"taskType": "RECOVERDOMAIN"
}