Set Backup Configuration
Configure the backup configuration for SDDC Manager and NSX Manager
{
"encryption": {
"passphrase": "string"
},
"backupLocations": [
{
"server": "string",
"port": 0,
"protocol": "SFTP",
"username": "string",
"password": "string",
"directoryPath": "string",
"sshFingerprint": "string"
}
],
"backupSchedules": [
{
"resourceType": "SDDC_MANAGER",
"takeScheduledBackups": true,
"frequency": "One among: WEEKLY, HOURLY",
"daysOfWeek": [
"One among: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY"
],
"hourOfDay": 0,
"minuteOfHour": 0,
"takeBackupOnStateChange": true,
"retentionPolicy": {
"numberOfMostRecentBackups": 15,
"numberOfDaysOfHourlyBackups": 10,
"numberOfDaysOfDailyBackups": 20
}
}
]
}
Restore Specification
List of backup locations
List of backup schedules
Ok
"Validation Object"
ID of the validation
Description of the validation
Execution status of the validation. One among: IN_PROGRESS, FAILED, COMPLETED, UNKNOWN, SKIPPED, CANCELLED, CANCELLATION_IN_PROGRESS
Result status of the validation after it has completed its execution. One among: SUCCEEDED, FAILED, FAILED_WITH_WARNINGS, UNKNOWN, CANCELLATION_IN_PROGRESS
List of one or more validation checks that are performed as part of the validation
additionalProperties
Bad Request
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
Internal server error
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/v1/system/backup-configuration