Create Block-Based Protection Group
POST https://{{cluster_vip}}/v2/data-protect/protection-groups
Creates a block-based Protection Group for protecting your Windows physical server.
Considerations:
policyId
,storageDomainId
and the ID of the physical server source to be protected are required in the request body for running this API.- For block-based Protection Group, ensure the
protectionType
value in the request body isKVolume
. - The
protectionGroupId
from the API response is required for running the Protection Group for protecting the physical server.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |
RESPONSES
status: Created
{"id":"1867183226494767:1669693131113:54724","name":"Windows_bb","policyId":"1867183226494767:1669693131113:3","priority":"kMedium","storageDomainId":5,"description":"","startTime":{"hour":15,"minute":2,"timeZone":"Asia/Calcutta"},"alertPolicy":{"backupRunStatus":["kFailure"],"alertTargets":[]},"sla":[{"backupRunType":"kIncremental","slaMinutes":60},{"backupRunType":"kFull","slaMinutes":120}],"qosPolicy":"kBackupHDD","abortInBlackouts":false,"isActive":true,"isPaused":false,"environment":"kPhysical","permissions":null,"missingEntities":null,"physicalParams":{"protectionType":"kVolume","volumeProtectionTypeParams":{"objects":[{"id":3795,"name":"{{object_name}}","volumeGuids":null}],"indexingPolicy":{"enableIndexing":true,"includePaths":["/"],"excludePaths":["/$Recycle.Bin","/Windows","/Program Files","/Program Files (x86)","/ProgramData","/System Volume Information","/Users/*/AppData","/Recovery","/var","/usr","/sys","/proc","/lib","/grub","/grub2","/opt","/splunk"]},"performSourceSideDeduplication":false,"incrementalBackupAfterRestart":true,"dedupExclusionSourceIds":null,"excludedVssWriters":null}}}