Create Protection Policy

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

Creates a Protection Policy on the Cohesity cluster.

The policy ID from the response is required to create the Protection Group for protecting your physical server.

Request Body

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

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: Created

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