Update Recurring Backup Config
Saves scheduled backup policy; set weekly or interval fields to match backup_schedule_type.
Recurring backup policy (enablement, schedule type, and weekly or interval details).
{
"_create_user": "string",
"_create_time": 0,
"_last_modified_user": "string",
"_last_modified_time": 0,
"_revision": 0,
"_resource_type": "string",
"_system_owned": false,
"id": "string",
"display_name": "string",
"description": "string",
"site_ids": [
"string"
],
"enabled": false,
"backup_type": "string",
"backup_schedule_type": "string",
"backup_schedule_weekly": {
"days_of_week": [
"string"
],
"hour_of_day": 0,
"minute_of_day": 0
},
"backup_schedule_interval": {
"hours_between_backups": 0
}
}
Successful response
{
"_create_user": "string",
"_create_time": 0,
"_last_modified_user": "string",
"_last_modified_time": 0,
"_revision": 0,
"_resource_type": "string",
"_system_owned": false,
"id": "string",
"display_name": "string",
"description": "string",
"site_ids": [
"string"
],
"enabled": false,
"backup_type": "string",
"backup_schedule_type": "string",
"backup_schedule_weekly": {
"days_of_week": [
"string"
],
"hour_of_day": 0,
"minute_of_day": 0
},
"backup_schedule_interval": {
"hours_between_backups": 0
}
}
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unexpected error occurred
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"enabled":"boolean","backup_type":"string","backup_schedule_type":"string"}' https://{api_host}/https://{api_host}:{port}/lh-appliance/backup/recurring/config