The API allows you to list, view, create and edit storage backup policies.
Returns list of storage backup policies filtered by specified query parameters.
name | type | description | default | constraints |
---|---|---|---|---|
direction | query | |||
extended | query | false | boolean | |
filter | query | |||
nameLike | query | |||
orderBy | query | |||
page | query | |||
size | query |
media type | data type | description |
---|---|---|
application/json | array of StorageBackupPolicyListRecord (JSON) | list of storage backup policies filtered by specified query parameters |
GET /policies/storage-backup
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"ruleCount" : 12345,
"rules" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"name" : "...",
"active" : true,
"backupRetryCount" : 12345,
"autoAssignMode" : "DISABLED",
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"storageCount" : 12345,
"backupDestinations" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"priority" : 50
} ]
Create storage backup policy
media type | data type | description |
---|---|---|
application/json | StorageBackupPolicyRequest (JSON) | specify details for new storage backup policy |
media type | data type | description |
---|---|---|
application/json | StorageBackupPolicyDetails (JSON) | details of newly storage backup policy |
POST /policies/storage-backup
Content-Type: application/json
Accept: application/json
{
"name" : "...",
"backupRetryCount" : 12345,
"storages" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"priority" : 50,
"rules" : [ {
"guid" : "...",
"name" : "...",
"schedules" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"active" : true,
"policy" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"ruleBackupDestinations" : [ {
"type" : "VIRTUAL_MACHINE",
"guid" : "...",
"backupDestination" : { },
"roleType" : "SECONDARY",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
}, {
"type" : "STORAGE",
"guid" : "...",
"backupDestination" : { },
"roleType" : "PRIMARY",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
} ],
"position" : 12345
}, {
"guid" : "...",
"name" : "...",
"schedules" : [ {
"guid" : "...",
"name" : "..."
}, {
"guid" : "...",
"name" : "..."
} ],
"active" : true,
"policy" : {
"guid" : "...",
"name" : "..."
},
"ruleBackupDestinations" : [ {
"type" : "OS",
"guid" : "...",
"backupDestination" : { },
"roleType" : "PRIMARY",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
}, {
"type" : "OS",
"guid" : "...",
"backupDestination" : { },
"roleType" : "ARCHIVE",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
} ],
"position" : 12345
} ],
"active" : true,
"autoRemoveNonPresent" : true,
"autoAssignSettings" : {
"mode" : "ASSIGN_AND_REMOVE",
"includeRegExps" : [ "...", "..." ],
"excludeRegExps" : [ "...", "..." ],
"storagePools" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
},
"failRemainingBackupTasksExportThreshold" : 12345.0,
"failRemainingBackupTasksStoreThreshold" : 12345.0,
"dailyReportEnabled" : true,
"mailingList" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"executeAutoAssignmentAfterSavingPolicy" : true,
"disableCleanOldBackups" : true
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"rules" : [ {
"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
}, {
"guid" : "...",
"name" : "...",
"policy" : {
"guid" : "...",
"name" : "..."
},
"schedules" : [ {
"guid" : "...",
"name" : "..."
}, {
"guid" : "...",
"name" : "..."
} ],
"vmCount" : 12345,
"schedulesCount" : 12345,
"position" : 12345,
"active" : true,
"removable" : true,
"daysToKeepRetentionLock" : 12345
} ],
"name" : "...",
"active" : true,
"autoAssignSettings" : {
"mode" : "DISABLED",
"includeRegExps" : [ "...", "..." ],
"excludeRegExps" : [ "...", "..." ],
"storagePools" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
},
"backupRetryCount" : 12345,
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"autoRemoveNonPresent" : true,
"storages" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"averageBackupSize" : 12345,
"priority" : 50,
"failRemainingBackupTasksExportThreshold" : 12345.0,
"failRemainingBackupTasksStoreThreshold" : 12345.0,
"dailyReportEnabled" : true,
"mailingList" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"disableCleanOldBackups" : true
}
Get auto-assignment preview for all storages and given backup policy.
media type | data type | description |
---|---|---|
application/json | StorageBackupPolicyRequest (JSON) | specify storage backup policy details to create preview |
media type | data type | description |
---|---|---|
application/json | array of AutoAssignResultPreviewListRecord (JSON) | list of auto-assignment result preview records |
POST /policies/storage-backup/auto-assignment-preview
Content-Type: application/json
Accept: application/json
{
"name" : "...",
"backupRetryCount" : 12345,
"storages" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"priority" : 50,
"rules" : [ {
"guid" : "...",
"name" : "...",
"schedules" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"active" : true,
"policy" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"ruleBackupDestinations" : [ {
"type" : "OS",
"guid" : "...",
"backupDestination" : { },
"roleType" : "PRIMARY",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
}, {
"type" : "APPLICATION",
"guid" : "...",
"backupDestination" : { },
"roleType" : "SECONDARY",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
} ],
"position" : 12345
}, {
"guid" : "...",
"name" : "...",
"schedules" : [ {
"guid" : "...",
"name" : "..."
}, {
"guid" : "...",
"name" : "..."
} ],
"active" : true,
"policy" : {
"guid" : "...",
"name" : "..."
},
"ruleBackupDestinations" : [ {
"type" : "CLOUD",
"guid" : "...",
"backupDestination" : { },
"roleType" : "ARCHIVE",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
}, {
"type" : "CLOUD",
"guid" : "...",
"backupDestination" : { },
"roleType" : "ARCHIVE",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
} ],
"position" : 12345
} ],
"active" : true,
"autoRemoveNonPresent" : true,
"autoAssignSettings" : {
"mode" : "DISABLED",
"includeRegExps" : [ "...", "..." ],
"excludeRegExps" : [ "...", "..." ],
"storagePools" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
},
"failRemainingBackupTasksExportThreshold" : 12345.0,
"failRemainingBackupTasksStoreThreshold" : 12345.0,
"dailyReportEnabled" : true,
"mailingList" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"executeAutoAssignmentAfterSavingPolicy" : true,
"disableCleanOldBackups" : true
}
HTTP/1.1 201 Created
Content-Type: application/json
[ {
"protectedEntity" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"changeType" : "REMOVAL",
"changeReason" : "PE_IS_NOT_PRESENT"
} ]
Returns detailed list of storage backup policies.
media type | data type | description |
---|---|---|
application/json | array of StorageBackupPolicyDetails (JSON) | detailed list of storage backup policies |
GET /policies/storage-backup/detailed
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"rules" : [ {
"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
}, {
"guid" : "...",
"name" : "...",
"policy" : {
"guid" : "...",
"name" : "..."
},
"schedules" : [ {
"guid" : "...",
"name" : "..."
}, {
"guid" : "...",
"name" : "..."
} ],
"vmCount" : 12345,
"schedulesCount" : 12345,
"position" : 12345,
"active" : true,
"removable" : true,
"daysToKeepRetentionLock" : 12345
} ],
"name" : "...",
"active" : true,
"autoAssignSettings" : {
"mode" : "ASSIGN_AND_REMOVE",
"includeRegExps" : [ "...", "..." ],
"excludeRegExps" : [ "...", "..." ],
"storagePools" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
},
"backupRetryCount" : 12345,
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"autoRemoveNonPresent" : true,
"storages" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"averageBackupSize" : 12345,
"priority" : 50,
"failRemainingBackupTasksExportThreshold" : 12345.0,
"failRemainingBackupTasksStoreThreshold" : 12345.0,
"dailyReportEnabled" : true,
"mailingList" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"disableCleanOldBackups" : true
} ]
Get all the policies and rules from selected protected entities
media type | data type | description |
---|---|---|
application/json | ProtectedEntityPolicyRequest (JSON) | containing selected protected entities |
media type | data type | description |
---|---|---|
application/json | array of BackupPolicyForBackupListRecord (JSON) | list of policies and rules |
POST /policies/storage-backup/list-by-entities
Content-Type: application/json
Accept: application/json
{
"protectedEntities" : [ "...", "..." ]
}
HTTP/1.1 201 Created
Content-Type: application/json
[ {
"guid" : "...",
"name" : "...",
"entityCount" : 12345,
"rules" : [ {
"guid" : "...",
"name" : "...",
"markedForDeletion" : true,
"position" : 12345,
"ruleBackupDestinations" : [ {
"backupDestination" : { },
"roleType" : "PRIMARY"
}, {
"backupDestination" : { },
"roleType" : "ARCHIVE"
} ]
}, {
"guid" : "...",
"name" : "...",
"markedForDeletion" : true,
"position" : 12345,
"ruleBackupDestinations" : [ {
"backupDestination" : { },
"roleType" : "PRIMARY"
}, {
"backupDestination" : { },
"roleType" : "ARCHIVE"
} ]
} ]
} ]
Remove storage backup policy.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for storage backup policy (use by vProtect) |
DELETE /policies/storage-backup/{guid}
Content-Type: */*
...
HTTP/1.1 204 No Content
Get a single storage backup policy.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for storage backup policy (use by vProtect) |
media type | data type | description |
---|---|---|
application/json | StorageBackupPolicyDetails (JSON) | single storage backup policy details |
GET /policies/storage-backup/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"rules" : [ {
"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
}, {
"guid" : "...",
"name" : "...",
"policy" : {
"guid" : "...",
"name" : "..."
},
"schedules" : [ {
"guid" : "...",
"name" : "..."
}, {
"guid" : "...",
"name" : "..."
} ],
"vmCount" : 12345,
"schedulesCount" : 12345,
"position" : 12345,
"active" : true,
"removable" : true,
"daysToKeepRetentionLock" : 12345
} ],
"name" : "...",
"active" : true,
"autoAssignSettings" : {
"mode" : "ASSIGN_ONLY",
"includeRegExps" : [ "...", "..." ],
"excludeRegExps" : [ "...", "..." ],
"storagePools" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
},
"backupRetryCount" : 12345,
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"autoRemoveNonPresent" : true,
"storages" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"averageBackupSize" : 12345,
"priority" : 50,
"failRemainingBackupTasksExportThreshold" : 12345.0,
"failRemainingBackupTasksStoreThreshold" : 12345.0,
"dailyReportEnabled" : true,
"mailingList" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"disableCleanOldBackups" : true
}
Change storage backup policy details.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for storage backup policy (use by vProtect) |
media type | data type | description |
---|---|---|
application/json | StorageBackupPolicyRequest (JSON) | specify storage backup policy details for update |
media type | data type | description |
---|---|---|
application/json | StorageBackupPolicyDetails (JSON) | updated details of storage backup policy |
PUT /policies/storage-backup/{guid}
Content-Type: application/json
Accept: application/json
{
"name" : "...",
"backupRetryCount" : 12345,
"storages" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"priority" : 50,
"rules" : [ {
"guid" : "...",
"name" : "...",
"schedules" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"active" : true,
"policy" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"ruleBackupDestinations" : [ {
"type" : "APPLICATION",
"guid" : "...",
"backupDestination" : { },
"roleType" : "PRIMARY",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
}, {
"type" : "STORAGE",
"guid" : "...",
"backupDestination" : { },
"roleType" : "SECONDARY",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
} ],
"position" : 12345
}, {
"guid" : "...",
"name" : "...",
"schedules" : [ {
"guid" : "...",
"name" : "..."
}, {
"guid" : "...",
"name" : "..."
} ],
"active" : true,
"policy" : {
"guid" : "...",
"name" : "..."
},
"ruleBackupDestinations" : [ {
"type" : "VIRTUAL_MACHINE",
"guid" : "...",
"backupDestination" : { },
"roleType" : "SECONDARY",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
}, {
"type" : "APPLICATION",
"guid" : "...",
"backupDestination" : { },
"roleType" : "ARCHIVE",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
} ],
"position" : 12345
} ],
"active" : true,
"autoRemoveNonPresent" : true,
"autoAssignSettings" : {
"mode" : "DISABLED",
"includeRegExps" : [ "...", "..." ],
"excludeRegExps" : [ "...", "..." ],
"storagePools" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
},
"failRemainingBackupTasksExportThreshold" : 12345.0,
"failRemainingBackupTasksStoreThreshold" : 12345.0,
"dailyReportEnabled" : true,
"mailingList" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"executeAutoAssignmentAfterSavingPolicy" : true,
"disableCleanOldBackups" : true
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"rules" : [ {
"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
}, {
"guid" : "...",
"name" : "...",
"policy" : {
"guid" : "...",
"name" : "..."
},
"schedules" : [ {
"guid" : "...",
"name" : "..."
}, {
"guid" : "...",
"name" : "..."
} ],
"vmCount" : 12345,
"schedulesCount" : 12345,
"position" : 12345,
"active" : true,
"removable" : true,
"daysToKeepRetentionLock" : 12345
} ],
"name" : "...",
"active" : true,
"autoAssignSettings" : {
"mode" : "ASSIGN_AND_REMOVE",
"includeRegExps" : [ "...", "..." ],
"excludeRegExps" : [ "...", "..." ],
"storagePools" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
},
"backupRetryCount" : 12345,
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"autoRemoveNonPresent" : true,
"storages" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"averageBackupSize" : 12345,
"priority" : 50,
"failRemainingBackupTasksExportThreshold" : 12345.0,
"failRemainingBackupTasksStoreThreshold" : 12345.0,
"dailyReportEnabled" : true,
"mailingList" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"disableCleanOldBackups" : true
}
Get auto-assignment preview for all storages and given backup policy.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for storage backup policy (use by vProtect) |
media type | data type | description |
---|---|---|
application/json | StorageBackupPolicyRequest (JSON) | specify storage backup policy details to create preview |
media type | data type | description |
---|---|---|
application/json | array of AutoAssignResultPreviewListRecord (JSON) | list of auto-assignment result preview records |
POST /policies/storage-backup/{guid}/auto-assignment-preview
Content-Type: application/json
Accept: application/json
{
"name" : "...",
"backupRetryCount" : 12345,
"storages" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"priority" : 50,
"rules" : [ {
"guid" : "...",
"name" : "...",
"schedules" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"active" : true,
"policy" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"ruleBackupDestinations" : [ {
"type" : "STORAGE",
"guid" : "...",
"backupDestination" : { },
"roleType" : "SECONDARY",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
}, {
"type" : "APPLICATION",
"guid" : "...",
"backupDestination" : { },
"roleType" : "SECONDARY",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
} ],
"position" : 12345
}, {
"guid" : "...",
"name" : "...",
"schedules" : [ {
"guid" : "...",
"name" : "..."
}, {
"guid" : "...",
"name" : "..."
} ],
"active" : true,
"policy" : {
"guid" : "...",
"name" : "..."
},
"ruleBackupDestinations" : [ {
"type" : "OS",
"guid" : "...",
"backupDestination" : { },
"roleType" : "SECONDARY",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
}, {
"type" : "CLOUD",
"guid" : "...",
"backupDestination" : { },
"roleType" : "ARCHIVE",
"backupRetentionSettings" : { },
"daysToKeepRetentionLock" : 12345,
"active" : true
} ],
"position" : 12345
} ],
"active" : true,
"autoRemoveNonPresent" : true,
"autoAssignSettings" : {
"mode" : "ASSIGN_ONLY",
"includeRegExps" : [ "...", "..." ],
"excludeRegExps" : [ "...", "..." ],
"storagePools" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
},
"failRemainingBackupTasksExportThreshold" : 12345.0,
"failRemainingBackupTasksStoreThreshold" : 12345.0,
"dailyReportEnabled" : true,
"mailingList" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"executeAutoAssignmentAfterSavingPolicy" : true,
"disableCleanOldBackups" : true
}
HTTP/1.1 201 Created
Content-Type: application/json
[ {
"protectedEntity" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"changeType" : "REMOVAL",
"changeReason" : "PE_IS_NOT_PRESENT"
} ]
name | type | description |
---|---|---|
guid | path |
media type | data type |
---|---|
application/json | CloneDTO (JSON) |
media type | data type | description |
---|---|---|
application/json | StorageBackupPolicyDetails (JSON) |
POST /policies/storage-backup/{guid}/clone
Content-Type: application/json
Accept: application/json
{
"name" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"rules" : [ {
"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
}, {
"guid" : "...",
"name" : "...",
"policy" : {
"guid" : "...",
"name" : "..."
},
"schedules" : [ {
"guid" : "...",
"name" : "..."
}, {
"guid" : "...",
"name" : "..."
} ],
"vmCount" : 12345,
"schedulesCount" : 12345,
"position" : 12345,
"active" : true,
"removable" : true,
"daysToKeepRetentionLock" : 12345
} ],
"name" : "...",
"active" : true,
"autoAssignSettings" : {
"mode" : "DISABLED",
"includeRegExps" : [ "...", "..." ],
"excludeRegExps" : [ "...", "..." ],
"storagePools" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
},
"backupRetryCount" : 12345,
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"autoRemoveNonPresent" : true,
"storages" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"averageBackupSize" : 12345,
"priority" : 50,
"failRemainingBackupTasksExportThreshold" : 12345.0,
"failRemainingBackupTasksStoreThreshold" : 12345.0,
"dailyReportEnabled" : true,
"mailingList" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"disableCleanOldBackups" : true
}
name | type | description |
---|---|---|
guid | path |
media type | data type | description |
---|---|---|
application/json | array of StorageListRecord (JSON) |
GET /policies/storage-backup/{guid}/entities
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"name" : "...",
"type" : "CLOUD_SITE",
"uuid" : "...",
"backupUpToDate" : true,
"size" : 12345,
"snapshotable" : true,
"restorable" : true,
"storageBackupPolicy" : {
"rules" : [ {
"guid" : "...",
"name" : "...",
"policy" : { },
"schedules" : [ { }, { } ],
"vmCount" : 12345,
"schedulesCount" : 12345,
"position" : 12345,
"active" : true,
"removable" : true,
"daysToKeepRetentionLock" : 12345
}, {
"guid" : "...",
"name" : "...",
"policy" : { },
"schedules" : [ { }, { } ],
"vmCount" : 12345,
"schedulesCount" : 12345,
"position" : 12345,
"active" : true,
"removable" : true,
"daysToKeepRetentionLock" : 12345
} ],
"name" : "...",
"active" : true,
"autoAssignSettings" : {
"mode" : "ASSIGN_ONLY",
"includeRegExps" : [ "...", "..." ],
"excludeRegExps" : [ "...", "..." ],
"storagePools" : [ { }, { } ]
},
"backupRetryCount" : 12345,
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"autoRemoveNonPresent" : true,
"storages" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"averageBackupSize" : 12345,
"priority" : 50,
"failRemainingBackupTasksExportThreshold" : 12345.0,
"failRemainingBackupTasksStoreThreshold" : 12345.0,
"dailyReportEnabled" : true,
"mailingList" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"disableCleanOldBackups" : true
},
"lastSuccessfulBackupSize" : 12345,
"lastSuccessfulFullBackupSize" : 12345,
"storageProvider" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"warningsPresent" : true,
"storagePool" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"lastSuccessfulFullBackup" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"storageProviderType" : "DEFAULT",
"lastSuccessfulIncBackup" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"present" : true,
"path" : "...",
"averageProgress" : 12345.0,
"restoreStatus" : "...",
"lastChainMarkedForDeletion" : true,
"possibleActions" : [ "HVM_READ", "READ" ],
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"description" : "...",
"rule" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"nodeConfig" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"lastBackup" : 1451649601000
} ]