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:

{

    "drvaId": 1,

    "diskId": "/dev/sda1",

    "sectionSize": 20971520,

    "estimatedDataSize": 536870912,

    "datacenterId": "Datacenter-123",

    "clusterId": "Cluster-123",

    "datastoreId": "Datastore-23",

    "resourcePoolId": "resgroup-1290",

    "vmFolderId": "Group-v123",

    "rocvaNetworkSettings": {

        "internalNetwork": {

            "networkId": "Network:network-1",

            "staticIp": true,

            "ipAddress": "192.168.1.2",

            "netmask": "255.255.255.245",

            "dns": "192.168.4.5, 192.169.4.10",

            "vlanTag": 4094

        },

        "replicationNetwork": {

            "networkId": "Network:network-2",

            "staticIp": true,

            "ipAddress": "192.168.1.3",

            "netmask": "255.255.255.245",

            "dns": "192.168.4.5, 192.169.4.10",

            "vlanTag": 4094

        },

        "mgmtNetwork": {

            "networkId": "Network:network-3",

            "staticIp": true,

            "ipAddress": "192.168.1.4",

            "netmask": "255.255.255.245",

            "dns": "192.168.4.5, 192.169.4.10",

            "vlanTag": 4094

        },

        "defaultGateway": {

            "networkId": "Network:network-1",

            "gateway": "192.168.1.0"

        }

    },

    "networkMapping": [

        {

            "srcNetworkId": "Network:network-82",

            "destNetworkId": "Network:network-125"

        },

        {

            "srcNetworkId": "Network:network-33",

            "destNetworkId": "Network:network-55"

        }

    ],

    "retainMac": true,

    "powerOff": false,

Response:

{

    "completedAt": null,

    "description": "Restore Domain",

    "errorCode": null,

    "errorMessage": null,

    "errorTargets": [],

    "id": 64,

    "longRunning": false,

    "maxtime": 300000,

    "parentTaskId": null,

    "progress": 1,

    "progressStatusCode": 10001,

    "startedAt": null,

    "state": "Initializing task",

    "submittedAt": "1690365307804",

    "submittedBy": "VSPHERE.LOCAL\\Administrator",

    "successDetailCode": null,

    "successDetailMessage": null,

    "successDetailParams": null,

    "target": "99be8cec-2b94-11ee-8031-005056b23b33",

    "targetName": "domain1",

    "taskType": "RECOVERDOMAIN"

}