Create failover group DR operation schedule
Select
API to create failover group DR operation schedule
Path Parameters
- failoverGroupId int32 required
Id of the failover group
- application/json
Request Body
- scheduleId int32
Id of the schedule if available, required for modifying, deleting schedule
- scheduleName string
Name of the schedule, for modify
- policyId int32
Schedule policy Id to which the schedule belongs
- scheduleOperation string
Possible values: [
ADD
,DELETE
,MODIFY
]Default value:
MODIFY
Operation being performed on schedule
- vmOperationType string
Possible values: [
PLANNED_FAILOVER
,TEST_BOOT
]Type of DR operation (only applicable for Failover groups)
- backupType string required
Possible values: [
FULL
,INCREMENTAL
,DIFFERENTIAL
,SYNTHETICFULL
,TRANSACTIONLOG
,SNAPSHOT
]Schedule Backup level
- forDatabasesOnly boolean
Default value:
false
Boolean to indicate if schedule is for database agents
- isRetentionBasedSyntheticFull boolean
Default value:
false
Boolean to indicate if synthetic full schedule is based on retention rules
- isAuxCopySchedule boolean
Default value:
false
Boolean to indicate if schedule is aux copy schedule.
schedulePattern object required
scheduleOption object
- additionalInfo string
- taskOperationType string
Possible values: [
BACKUP
,SNAPSHOT
]Schedule operation type
- 200
- 400
- 503
Failover group DR operation schedule created
- application/json
- Schema
- Example (from schema)
Schema
- scheduleId int32
Id of the schedule if available, required for modifying, deleting schedule
- scheduleName string
Name of the schedule, for modify
- policyId int32
Schedule policy Id to which the schedule belongs
- scheduleOperation string
Possible values: [
ADD
,DELETE
,MODIFY
]Default value:
MODIFY
Operation being performed on schedule
- vmOperationType string
Possible values: [
PLANNED_FAILOVER
,TEST_BOOT
]Type of DR operation (only applicable for Failover groups)
- backupType string
Possible values: [
FULL
,INCREMENTAL
,DIFFERENTIAL
,SYNTHETICFULL
,TRANSACTIONLOG
,SNAPSHOT
]Schedule Backup level
- forDatabasesOnly boolean
Default value:
false
Boolean to indicate if schedule is for database agents
- isRetentionBasedSyntheticFull boolean
Default value:
false
Boolean to indicate if synthetic full schedule is based on retention rules
- isAuxCopySchedule boolean
Default value:
false
Boolean to indicate if schedule is aux copy schedule.
schedulePattern object
scheduleOption object
- additionalInfo string
- taskOperationType string
Possible values: [
BACKUP
,SNAPSHOT
]Schedule operation type
{
"scheduleId": 0,
"scheduleName": "string",
"policyId": 0,
"scheduleOperation": "MODIFY",
"vmOperationType": "PLANNED_FAILOVER",
"backupType": "FULL",
"forDatabasesOnly": false,
"isRetentionBasedSyntheticFull": false,
"isAuxCopySchedule": false,
"schedulePattern": {
"scheduleFrequencyType": "MINUTES",
"frequency": 0,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"repeatIntervalInMinutes": 0,
"repeatUntilTime": 0,
"timezone": {
"id": 0,
"name": "string"
},
"startTime": 75600,
"startDate": 0,
"endDate": 0,
"noOfTimes": 0,
"exceptions": [
{
"onDates": [
0
],
"onWeekOfTheMonth": [
"FIRST"
],
"onDayOfTheWeek": [
"SUNDAY"
]
}
],
"daysBetweenSyntheticFulls": 0,
"maxBackupIntervalInMins": 240,
"calendarId": 1,
"calendarName": "string",
"jobStaggerDurationInMins": 0
},
"scheduleOption": {
"useDiskCacheForLogBackups": true,
"commitFrequencyInHours": 0,
"daysBetweenAutoConvert": 0,
"o365ItemSelectionOption": "SELECT_ALL",
"jobRunningTimeInMins": 0,
"minBackupIntervalInMins": 15,
"logFilesThreshold": 50,
"logsDiskUtilizationPercent": 80,
"deleteLogsByAppLvlConfig": true
},
"additionalInfo": "string",
"taskOperationType": "BACKUP"
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Service Unavailable
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
POST /v4/failovergroups/:failovergroupid/schedules
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/FailoverGroups/:failoverGroupId/Schedules' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"scheduleId": 0,
"scheduleName": "string",
"policyId": 0,
"scheduleOperation": "MODIFY",
"vmOperationType": "PLANNED_FAILOVER",
"backupType": "FULL",
"forDatabasesOnly": false,
"isRetentionBasedSyntheticFull": false,
"isAuxCopySchedule": false,
"schedulePattern": {
"scheduleFrequencyType": "MINUTES",
"frequency": 0,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"repeatIntervalInMinutes": 0,
"repeatUntilTime": 0,
"timezone": {
"id": 0,
"name": "string"
},
"startTime": 75600,
"startDate": 0,
"endDate": 0,
"noOfTimes": 0,
"exceptions": [
{
"onDates": [
0
],
"onWeekOfTheMonth": [
"FIRST"
],
"onDayOfTheWeek": [
"SUNDAY"
]
}
],
"daysBetweenSyntheticFulls": 0,
"maxBackupIntervalInMins": 240,
"calendarId": 1,
"calendarName": "string",
"jobStaggerDurationInMins": 0
},
"scheduleOption": {
"useDiskCacheForLogBackups": true,
"commitFrequencyInHours": 0,
"daysBetweenAutoConvert": 0,
"o365ItemSelectionOption": "SELECT_ALL",
"jobRunningTimeInMins": 0,
"minBackupIntervalInMins": 15,
"logFilesThreshold": 50,
"logsDiskUtilizationPercent": 80,
"deleteLogsByAppLvlConfig": true
},
"additionalInfo": "string",
"taskOperationType": "BACKUP"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/FailoverGroups/:failoverGroupId/Schedules' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"scheduleId": 0,
"scheduleName": "string",
"policyId": 0,
"scheduleOperation": "MODIFY",
"vmOperationType": "PLANNED_FAILOVER",
"backupType": "FULL",
"forDatabasesOnly": false,
"isRetentionBasedSyntheticFull": false,
"isAuxCopySchedule": false,
"schedulePattern": {
"scheduleFrequencyType": "MINUTES",
"frequency": 0,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"repeatIntervalInMinutes": 0,
"repeatUntilTime": 0,
"timezone": {
"id": 0,
"name": "string"
},
"startTime": 75600,
"startDate": 0,
"endDate": 0,
"noOfTimes": 0,
"exceptions": [
{
"onDates": [
0
],
"onWeekOfTheMonth": [
"FIRST"
],
"onDayOfTheWeek": [
"SUNDAY"
]
}
],
"daysBetweenSyntheticFulls": 0,
"maxBackupIntervalInMins": 240,
"calendarId": 1,
"calendarName": "string",
"jobStaggerDurationInMins": 0
},
"scheduleOption": {
"useDiskCacheForLogBackups": true,
"commitFrequencyInHours": 0,
"daysBetweenAutoConvert": 0,
"o365ItemSelectionOption": "SELECT_ALL",
"jobRunningTimeInMins": 0,
"minBackupIntervalInMins": 15,
"logFilesThreshold": 50,
"logsDiskUtilizationPercent": 80,
"deleteLogsByAppLvlConfig": true
},
"additionalInfo": "string",
"taskOperationType": "BACKUP"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/FailoverGroups/:failoverGroupId/Schedules' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"scheduleId": 0,
"scheduleName": "string",
"policyId": 0,
"scheduleOperation": "MODIFY",
"vmOperationType": "PLANNED_FAILOVER",
"backupType": "FULL",
"forDatabasesOnly": false,
"isRetentionBasedSyntheticFull": false,
"isAuxCopySchedule": false,
"schedulePattern": {
"scheduleFrequencyType": "MINUTES",
"frequency": 0,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"repeatIntervalInMinutes": 0,
"repeatUntilTime": 0,
"timezone": {
"id": 0,
"name": "string"
},
"startTime": 75600,
"startDate": 0,
"endDate": 0,
"noOfTimes": 0,
"exceptions": [
{
"onDates": [
0
],
"onWeekOfTheMonth": [
"FIRST"
],
"onDayOfTheWeek": [
"SUNDAY"
]
}
],
"daysBetweenSyntheticFulls": 0,
"maxBackupIntervalInMins": 240,
"calendarId": 1,
"calendarName": "string",
"jobStaggerDurationInMins": 0
},
"scheduleOption": {
"useDiskCacheForLogBackups": true,
"commitFrequencyInHours": 0,
"daysBetweenAutoConvert": 0,
"o365ItemSelectionOption": "SELECT_ALL",
"jobRunningTimeInMins": 0,
"minBackupIntervalInMins": 15,
"logFilesThreshold": 50,
"logsDiskUtilizationPercent": 80,
"deleteLogsByAppLvlConfig": true
},
"additionalInfo": "string",
"taskOperationType": "BACKUP"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/FailoverGroups/:failoverGroupId/Schedules' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"scheduleId": 0,
"scheduleName": "string",
"policyId": 0,
"scheduleOperation": "MODIFY",
"vmOperationType": "PLANNED_FAILOVER",
"backupType": "FULL",
"forDatabasesOnly": false,
"isRetentionBasedSyntheticFull": false,
"isAuxCopySchedule": false,
"schedulePattern": {
"scheduleFrequencyType": "MINUTES",
"frequency": 0,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"repeatIntervalInMinutes": 0,
"repeatUntilTime": 0,
"timezone": {
"id": 0,
"name": "string"
},
"startTime": 75600,
"startDate": 0,
"endDate": 0,
"noOfTimes": 0,
"exceptions": [
{
"onDates": [
0
],
"onWeekOfTheMonth": [
"FIRST"
],
"onDayOfTheWeek": [
"SUNDAY"
]
}
],
"daysBetweenSyntheticFulls": 0,
"maxBackupIntervalInMins": 240,
"calendarId": 1,
"calendarName": "string",
"jobStaggerDurationInMins": 0
},
"scheduleOption": {
"useDiskCacheForLogBackups": true,
"commitFrequencyInHours": 0,
"daysBetweenAutoConvert": 0,
"o365ItemSelectionOption": "SELECT_ALL",
"jobRunningTimeInMins": 0,
"minBackupIntervalInMins": 15,
"logFilesThreshold": 50,
"logsDiskUtilizationPercent": 80,
"deleteLogsByAppLvlConfig": true
},
"additionalInfo": "string",
"taskOperationType": "BACKUP"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/FailoverGroups/:failoverGroupId/Schedules' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"scheduleId": 0,
"scheduleName": "string",
"policyId": 0,
"scheduleOperation": "MODIFY",
"vmOperationType": "PLANNED_FAILOVER",
"backupType": "FULL",
"forDatabasesOnly": false,
"isRetentionBasedSyntheticFull": false,
"isAuxCopySchedule": false,
"schedulePattern": {
"scheduleFrequencyType": "MINUTES",
"frequency": 0,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"repeatIntervalInMinutes": 0,
"repeatUntilTime": 0,
"timezone": {
"id": 0,
"name": "string"
},
"startTime": 75600,
"startDate": 0,
"endDate": 0,
"noOfTimes": 0,
"exceptions": [
{
"onDates": [
0
],
"onWeekOfTheMonth": [
"FIRST"
],
"onDayOfTheWeek": [
"SUNDAY"
]
}
],
"daysBetweenSyntheticFulls": 0,
"maxBackupIntervalInMins": 240,
"calendarId": 1,
"calendarName": "string",
"jobStaggerDurationInMins": 0
},
"scheduleOption": {
"useDiskCacheForLogBackups": true,
"commitFrequencyInHours": 0,
"daysBetweenAutoConvert": 0,
"o365ItemSelectionOption": "SELECT_ALL",
"jobRunningTimeInMins": 0,
"minBackupIntervalInMins": 15,
"logFilesThreshold": 50,
"logsDiskUtilizationPercent": 80,
"deleteLogsByAppLvlConfig": true
},
"additionalInfo": "string",
"taskOperationType": "BACKUP"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/FailoverGroups/:failoverGroupId/Schedules' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"scheduleId": 0,
"scheduleName": "string",
"policyId": 0,
"scheduleOperation": "MODIFY",
"vmOperationType": "PLANNED_FAILOVER",
"backupType": "FULL",
"forDatabasesOnly": false,
"isRetentionBasedSyntheticFull": false,
"isAuxCopySchedule": false,
"schedulePattern": {
"scheduleFrequencyType": "MINUTES",
"frequency": 0,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"repeatIntervalInMinutes": 0,
"repeatUntilTime": 0,
"timezone": {
"id": 0,
"name": "string"
},
"startTime": 75600,
"startDate": 0,
"endDate": 0,
"noOfTimes": 0,
"exceptions": [
{
"onDates": [
0
],
"onWeekOfTheMonth": [
"FIRST"
],
"onDayOfTheWeek": [
"SUNDAY"
]
}
],
"daysBetweenSyntheticFulls": 0,
"maxBackupIntervalInMins": 240,
"calendarId": 1,
"calendarName": "string",
"jobStaggerDurationInMins": 0
},
"scheduleOption": {
"useDiskCacheForLogBackups": true,
"commitFrequencyInHours": 0,
"daysBetweenAutoConvert": 0,
"o365ItemSelectionOption": "SELECT_ALL",
"jobRunningTimeInMins": 0,
"minBackupIntervalInMins": 15,
"logFilesThreshold": 50,
"logsDiskUtilizationPercent": 80,
"deleteLogsByAppLvlConfig": true
},
"additionalInfo": "string",
"taskOperationType": "BACKUP"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/FailoverGroups/:failoverGroupId/Schedules' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"scheduleId": 0,
"scheduleName": "string",
"policyId": 0,
"scheduleOperation": "MODIFY",
"vmOperationType": "PLANNED_FAILOVER",
"backupType": "FULL",
"forDatabasesOnly": false,
"isRetentionBasedSyntheticFull": false,
"isAuxCopySchedule": false,
"schedulePattern": {
"scheduleFrequencyType": "MINUTES",
"frequency": 0,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"repeatIntervalInMinutes": 0,
"repeatUntilTime": 0,
"timezone": {
"id": 0,
"name": "string"
},
"startTime": 75600,
"startDate": 0,
"endDate": 0,
"noOfTimes": 0,
"exceptions": [
{
"onDates": [
0
],
"onWeekOfTheMonth": [
"FIRST"
],
"onDayOfTheWeek": [
"SUNDAY"
]
}
],
"daysBetweenSyntheticFulls": 0,
"maxBackupIntervalInMins": 240,
"calendarId": 1,
"calendarName": "string",
"jobStaggerDurationInMins": 0
},
"scheduleOption": {
"useDiskCacheForLogBackups": true,
"commitFrequencyInHours": 0,
"daysBetweenAutoConvert": 0,
"o365ItemSelectionOption": "SELECT_ALL",
"jobRunningTimeInMins": 0,
"minBackupIntervalInMins": 15,
"logFilesThreshold": 50,
"logsDiskUtilizationPercent": 80,
"deleteLogsByAppLvlConfig": true
},
"additionalInfo": "string",
"taskOperationType": "BACKUP"
}'