Create Protection Policy

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

Creates a Protection Policy on the Cohesity cluster.

The policy ID from the output is required to create the Protection Group for protecting the NAS source.

Request Body

{"backupPolicy"=>{"regular"=>{"incremental"=>{"schedule"=>{"unit"=>"Days", "daySchedule"=>{"frequency"=>1}}}, "retention"=>{"unit"=>"Days", "duration"=>14}}}, "name"=>"Linux_NFS_Policy", "description"=>"Policy for File, Folder Testing", "remoteTargetPolicy"=>{}, "retryOptions"=>{"retries"=>3, "retryIntervalMins"=>5}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: Created

{"name":"Linux_NFS_Policy","backupPolicy":{"regular":{"incremental":{"schedule":{"unit":"Days","daySchedule":{"frequency":1}}},"retention":{"unit":"Weeks","duration":2}}},"description":"Policy for File, Folder Testing","blackoutWindow":null,"extendedRetention":null,"cascadedTargetsConfig":null,"retryOptions":{"retries":3,"retryIntervalMins":5},"id":"8743635867054034:1666901032964:412244"}