This blog is to create a backup schedule for sddc manager using api in sddc manager this required for earlier version of VCF

Retrieve the SSH fingerprint of the SFTP server. 

ssh-keygen -lf <(ssh-keyscan -p 22 -t rsa 172.16.11.60 2>/dev/null) | cut -d ” ” -f 2

log in to the SDDC Manager user interface.  

Developer center 

API explorer 

APIs for managing backups and restore and click PATCH /v1/system/backup-configuration. 

Try it out, in the Value text box click Execute. click Continue. 

{
“backupLocations”: [
{
“directoryPath”: “/home/sftp/backups”,
“password”: “”,
“port”: 22,
“protocol”: “SFTP”,
“server”: “”,
“sshFingerprint”: “”,
“username”: “sftp”
}
],
“backupSchedules”: [
{
“daysOfWeek”: [
“MONDAY”,
“TUESDAY”,
“WEDNESDAY”,
“THURSDAY”,
“FRIDAY”,
“SATURDAY”
],
“frequency”: “WEEKLY”,
“hourOfDay”: “16”,
“minuteOfHour”: “40”,
“resourceType”: “SDDC_MANAGER”
}
],
“encryption”: {
“passphrase”: “”
}
}

By Kader