OS Backup Rule Controller Resource

The API allows you to list, view, create and edit os backup rule.

GET /rules/os-backup

Returns list of os backup rules filtered by specified query parameters.

Request Parameters
name type description
direction query
filter query
nameLike query
orderBy query
page query
policy query
size query
Response Body
media type data type description
application/json array of OSBackupRuleDetails (JSON) list of os backup rules filtered by specified query parameters

Example

Request
GET /rules/os-backup
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
[ {
  "guid" : "...",
  "name" : "...",
  "policy" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "schedules" : [ {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  }, {
    "guid" : "...",
    "name" : "..."
  } ],
  "vmCount" : 12345,
  "schedulesCount" : 12345,
  "position" : 12345,
  "active" : true,
  "ruleBackupDestinations" : [ {
    "guid" : "...",
    "name" : "...",
    "policy" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "schedules" : [ {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    }, {
      "guid" : "...",
      "name" : "..."
    } ],
    "vmCount" : 12345,
    "schedulesCount" : 12345,
    "position" : 12345,
    "active" : true,
    "removable" : true,
    "daysToKeepRetentionLock" : 12345,
    "rule" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "backupDestination" : {
      "type" : { },
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "roleType" : "ARCHIVE",
    "backupRetentionSettings" : {
      "retentionKeepLastNFull" : 12345,
      "retentionKeepFullNewerThan" : 12345,
      "retentionKeepLastNIncremental" : 12345,
      "retentionKeepIncrementalNewerThan" : 12345,
      "keepLastBackupWhenSourceStillExists" : true
    }
  }, {
    "guid" : "...",
    "name" : "...",
    "policy" : {
      "guid" : "...",
      "name" : "..."
    },
    "schedules" : [ {
      "guid" : "...",
      "name" : "..."
    }, {
      "guid" : "...",
      "name" : "..."
    } ],
    "vmCount" : 12345,
    "schedulesCount" : 12345,
    "position" : 12345,
    "active" : true,
    "removable" : true,
    "daysToKeepRetentionLock" : 12345,
    "rule" : {
      "guid" : "...",
      "name" : "..."
    },
    "backupDestination" : {
      "type" : { },
      "guid" : "...",
      "name" : "..."
    },
    "roleType" : "ARCHIVE",
    "backupRetentionSettings" : {
      "retentionKeepLastNFull" : 12345,
      "retentionKeepFullNewerThan" : 12345,
      "retentionKeepLastNIncremental" : 12345,
      "retentionKeepIncrementalNewerThan" : 12345,
      "keepLastBackupWhenSourceStillExists" : true
    }
  } ],
  "removable" : true,
  "daysToKeepRetentionLock" : 12345,
  "backupCount" : 12345,
  "includes" : [ {
    "type" : "INCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    } ]
  }, {
    "type" : "EXCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  } ],
  "excludes" : [ {
    "type" : "EXCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    } ]
  }, {
    "type" : "INCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  } ]
} ]
                
              

POST /rules/os-backup

OS backup rule.

Request Body
media type data type description
application/json OSBackupRuleRequest (JSON) specify details for new os backup rule
Response Body
media type data type description
application/json OSBackupRuleDetails (JSON) details of newly created os backup rule

Example

Request
POST /rules/os-backup
Content-Type: application/json
Accept: application/json

                
{
  "guid" : "...",
  "name" : "...",
  "ruleBackupDestinations" : [ {
    "type" : "APPLICATION",
    "guid" : "...",
    "backupDestination" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "roleType" : "PRIMARY",
    "backupRetentionSettings" : {
      "retentionKeepLastNFull" : 12345,
      "retentionKeepFullNewerThan" : 12345,
      "retentionKeepLastNIncremental" : 12345,
      "retentionKeepIncrementalNewerThan" : 12345,
      "keepLastBackupWhenSourceStillExists" : true
    },
    "daysToKeepRetentionLock" : 12345,
    "active" : true
  }, {
    "type" : "VIRTUAL_MACHINE",
    "guid" : "...",
    "backupDestination" : {
      "guid" : "...",
      "name" : "..."
    },
    "roleType" : "SECONDARY",
    "backupRetentionSettings" : {
      "retentionKeepLastNFull" : 12345,
      "retentionKeepFullNewerThan" : 12345,
      "retentionKeepLastNIncremental" : 12345,
      "retentionKeepIncrementalNewerThan" : 12345,
      "keepLastBackupWhenSourceStillExists" : true
    },
    "daysToKeepRetentionLock" : 12345,
    "active" : true
  } ],
  "schedules" : [ {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  }, {
    "guid" : "...",
    "name" : "..."
  } ],
  "active" : true,
  "policy" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "position" : 12345,
  "includes" : [ {
    "type" : "INCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    } ]
  }, {
    "type" : "INCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  } ],
  "excludes" : [ {
    "type" : "EXCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  }, {
    "type" : "EXCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    } ]
  } ]
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
{
  "guid" : "...",
  "name" : "...",
  "policy" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "schedules" : [ {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  }, {
    "guid" : "...",
    "name" : "..."
  } ],
  "vmCount" : 12345,
  "schedulesCount" : 12345,
  "position" : 12345,
  "active" : true,
  "ruleBackupDestinations" : [ {
    "guid" : "...",
    "name" : "...",
    "policy" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "schedules" : [ {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    }, {
      "guid" : "...",
      "name" : "..."
    } ],
    "vmCount" : 12345,
    "schedulesCount" : 12345,
    "position" : 12345,
    "active" : true,
    "removable" : true,
    "daysToKeepRetentionLock" : 12345,
    "rule" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "backupDestination" : {
      "type" : { },
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "roleType" : "ARCHIVE",
    "backupRetentionSettings" : {
      "retentionKeepLastNFull" : 12345,
      "retentionKeepFullNewerThan" : 12345,
      "retentionKeepLastNIncremental" : 12345,
      "retentionKeepIncrementalNewerThan" : 12345,
      "keepLastBackupWhenSourceStillExists" : true
    }
  }, {
    "guid" : "...",
    "name" : "...",
    "policy" : {
      "guid" : "...",
      "name" : "..."
    },
    "schedules" : [ {
      "guid" : "...",
      "name" : "..."
    }, {
      "guid" : "...",
      "name" : "..."
    } ],
    "vmCount" : 12345,
    "schedulesCount" : 12345,
    "position" : 12345,
    "active" : true,
    "removable" : true,
    "daysToKeepRetentionLock" : 12345,
    "rule" : {
      "guid" : "...",
      "name" : "..."
    },
    "backupDestination" : {
      "type" : { },
      "guid" : "...",
      "name" : "..."
    },
    "roleType" : "SECONDARY",
    "backupRetentionSettings" : {
      "retentionKeepLastNFull" : 12345,
      "retentionKeepFullNewerThan" : 12345,
      "retentionKeepLastNIncremental" : 12345,
      "retentionKeepIncrementalNewerThan" : 12345,
      "keepLastBackupWhenSourceStillExists" : true
    }
  } ],
  "removable" : true,
  "daysToKeepRetentionLock" : 12345,
  "backupCount" : 12345,
  "includes" : [ {
    "type" : "EXCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    } ]
  }, {
    "type" : "INCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  } ],
  "excludes" : [ {
    "type" : "EXCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    } ]
  }, {
    "type" : "INCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  } ]
}
                
              

DELETE /rules/os-backup/{guid}

Remove os backup rule.

Request Parameters
name type description
guid path specify local unique identifier for os backup rule (use by vProtect)

Example

Request
DELETE /rules/os-backup/{guid}
Content-Type: */*

                
...
                
              
Response
HTTP/1.1 204 No Content

              

GET /rules/os-backup/{guid}

Get a single os backup rule.

Request Parameters
name type description
guid path specify local unique identifier for os backup rule (use by vProtect)
Response Body
media type data type description
application/json OSBackupRuleDetails (JSON) a single os backup rule details

Example

Request
GET /rules/os-backup/{guid}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "guid" : "...",
  "name" : "...",
  "policy" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "schedules" : [ {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  }, {
    "guid" : "...",
    "name" : "..."
  } ],
  "vmCount" : 12345,
  "schedulesCount" : 12345,
  "position" : 12345,
  "active" : true,
  "ruleBackupDestinations" : [ {
    "guid" : "...",
    "name" : "...",
    "policy" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "schedules" : [ {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    }, {
      "guid" : "...",
      "name" : "..."
    } ],
    "vmCount" : 12345,
    "schedulesCount" : 12345,
    "position" : 12345,
    "active" : true,
    "removable" : true,
    "daysToKeepRetentionLock" : 12345,
    "rule" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "backupDestination" : {
      "type" : { },
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "roleType" : "ARCHIVE",
    "backupRetentionSettings" : {
      "retentionKeepLastNFull" : 12345,
      "retentionKeepFullNewerThan" : 12345,
      "retentionKeepLastNIncremental" : 12345,
      "retentionKeepIncrementalNewerThan" : 12345,
      "keepLastBackupWhenSourceStillExists" : true
    }
  }, {
    "guid" : "...",
    "name" : "...",
    "policy" : {
      "guid" : "...",
      "name" : "..."
    },
    "schedules" : [ {
      "guid" : "...",
      "name" : "..."
    }, {
      "guid" : "...",
      "name" : "..."
    } ],
    "vmCount" : 12345,
    "schedulesCount" : 12345,
    "position" : 12345,
    "active" : true,
    "removable" : true,
    "daysToKeepRetentionLock" : 12345,
    "rule" : {
      "guid" : "...",
      "name" : "..."
    },
    "backupDestination" : {
      "type" : { },
      "guid" : "...",
      "name" : "..."
    },
    "roleType" : "ARCHIVE",
    "backupRetentionSettings" : {
      "retentionKeepLastNFull" : 12345,
      "retentionKeepFullNewerThan" : 12345,
      "retentionKeepLastNIncremental" : 12345,
      "retentionKeepIncrementalNewerThan" : 12345,
      "keepLastBackupWhenSourceStillExists" : true
    }
  } ],
  "removable" : true,
  "daysToKeepRetentionLock" : 12345,
  "backupCount" : 12345,
  "includes" : [ {
    "type" : "EXCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  }, {
    "type" : "EXCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  } ],
  "excludes" : [ {
    "type" : "INCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    } ]
  }, {
    "type" : "EXCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  } ]
}
                
              

PUT /rules/os-backup/{guid}

Change os backup rule details.

Request Parameters
name type description
guid path specify local unique identifier for os backup rule (use by vProtect)
Request Body
media type data type description
application/json OSBackupRuleRequest (JSON) specify os backup rule details to update
Response Body
media type data type description
application/json OSBackupRuleDetails (JSON) updated details of os backup rule

Example

Request
PUT /rules/os-backup/{guid}
Content-Type: application/json
Accept: application/json

                
{
  "guid" : "...",
  "name" : "...",
  "ruleBackupDestinations" : [ {
    "type" : "VIRTUAL_MACHINE",
    "guid" : "...",
    "backupDestination" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "roleType" : "PRIMARY",
    "backupRetentionSettings" : {
      "retentionKeepLastNFull" : 12345,
      "retentionKeepFullNewerThan" : 12345,
      "retentionKeepLastNIncremental" : 12345,
      "retentionKeepIncrementalNewerThan" : 12345,
      "keepLastBackupWhenSourceStillExists" : true
    },
    "daysToKeepRetentionLock" : 12345,
    "active" : true
  }, {
    "type" : "CLOUD",
    "guid" : "...",
    "backupDestination" : {
      "guid" : "...",
      "name" : "..."
    },
    "roleType" : "SECONDARY",
    "backupRetentionSettings" : {
      "retentionKeepLastNFull" : 12345,
      "retentionKeepFullNewerThan" : 12345,
      "retentionKeepLastNIncremental" : 12345,
      "retentionKeepIncrementalNewerThan" : 12345,
      "keepLastBackupWhenSourceStillExists" : true
    },
    "daysToKeepRetentionLock" : 12345,
    "active" : true
  } ],
  "schedules" : [ {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  }, {
    "guid" : "...",
    "name" : "..."
  } ],
  "active" : true,
  "policy" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "position" : 12345,
  "includes" : [ {
    "type" : "EXCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  }, {
    "type" : "INCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  } ],
  "excludes" : [ {
    "type" : "EXCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  }, {
    "type" : "INCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    } ]
  } ]
}
                
              
Response
HTTP/1.1 204 No Content
Content-Type: application/json

                
{
  "guid" : "...",
  "name" : "...",
  "policy" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "schedules" : [ {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  }, {
    "guid" : "...",
    "name" : "..."
  } ],
  "vmCount" : 12345,
  "schedulesCount" : 12345,
  "position" : 12345,
  "active" : true,
  "ruleBackupDestinations" : [ {
    "guid" : "...",
    "name" : "...",
    "policy" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "schedules" : [ {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    }, {
      "guid" : "...",
      "name" : "..."
    } ],
    "vmCount" : 12345,
    "schedulesCount" : 12345,
    "position" : 12345,
    "active" : true,
    "removable" : true,
    "daysToKeepRetentionLock" : 12345,
    "rule" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "backupDestination" : {
      "type" : { },
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "roleType" : "PRIMARY",
    "backupRetentionSettings" : {
      "retentionKeepLastNFull" : 12345,
      "retentionKeepFullNewerThan" : 12345,
      "retentionKeepLastNIncremental" : 12345,
      "retentionKeepIncrementalNewerThan" : 12345,
      "keepLastBackupWhenSourceStillExists" : true
    }
  }, {
    "guid" : "...",
    "name" : "...",
    "policy" : {
      "guid" : "...",
      "name" : "..."
    },
    "schedules" : [ {
      "guid" : "...",
      "name" : "..."
    }, {
      "guid" : "...",
      "name" : "..."
    } ],
    "vmCount" : 12345,
    "schedulesCount" : 12345,
    "position" : 12345,
    "active" : true,
    "removable" : true,
    "daysToKeepRetentionLock" : 12345,
    "rule" : {
      "guid" : "...",
      "name" : "..."
    },
    "backupDestination" : {
      "type" : { },
      "guid" : "...",
      "name" : "..."
    },
    "roleType" : "ARCHIVE",
    "backupRetentionSettings" : {
      "retentionKeepLastNFull" : 12345,
      "retentionKeepFullNewerThan" : 12345,
      "retentionKeepLastNIncremental" : 12345,
      "retentionKeepIncrementalNewerThan" : 12345,
      "keepLastBackupWhenSourceStillExists" : true
    }
  } ],
  "removable" : true,
  "daysToKeepRetentionLock" : 12345,
  "backupCount" : 12345,
  "includes" : [ {
    "type" : "INCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  }, {
    "type" : "INCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    } ]
  } ],
  "excludes" : [ {
    "type" : "INCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "SIZE",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  }, {
    "type" : "INCLUDE",
    "protectedEntityGuid" : "...",
    "directory" : "...",
    "recursive" : true,
    "includeMountedFileSystems" : true,
    "filters" : [ {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    }, {
      "type" : "EXTENSION",
      "conditions" : [ { }, { } ]
    } ]
  } ]
}