Create File-based Protection Group

POST https://{{cluster-vip}}/v2/data-protect/protection-groups

Creates a file-based Protection Group for protecting your Linux 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 file-based Protection Group, ensure the protectionType value in the request body is KFile.
  • The protectionGroupId from the API response is required for running the Protection Group for protecting the physical server.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring

RESPONSES

status: Created

{"id":"8743635867054034:1666901032964:412248","name":"{{Linux_Protection_Group_Name}}","policyId":"8743635867054034:1666901032964:412243","priority":"kMedium","storageDomainId":6246697,"description":"","startTime":{"hour":11,"minute":1,"timeZone":"America/Vancouver"},"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":"kFile","fileProtectionTypeParams":{"objects":[{"id":25263,"name":"{{Linux_Source_Name}}","filePaths":[{"includedPath":"/","excludedPaths":null,"skipNestedVolumes":true}],"usesPathLevelSkipNestedVolumeSetting":false,"nestedVolumeTypesToSkip":null,"followNasSymlinkTarget":false}],"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,"dedupExclusionSourceIds":null,"globalExcludePaths":null,"ignorableErrors":[]}}}