SDDC Backup fails with error "Could not start SDDC Manager backup Backup failed : Configure passphrase for backups before initiating Backup Operation"
SDDC manager itself shouldn't be used as the backup server for SDDC Manager and NSX backups.
In case the backup is required to be configured on the SDDC manager itself, where the SDDC manager is being used as a backup server for SDDC Manager and NSX backups, use the below API to configure a passphrase for backups -
To workaround on this issue :
Workaround:
1. Create a secure user
/usr/lib/vmware-vmafd/bin/dir-cli ssogroup create --name Sddc_Secured_Access --login [email protected] --password '<SSO_PASSWORD>'
/usr/lib/vmware-vmafd/bin/dir-cli user create --account vcf-secure-user --first-name vcf-secure-user --last-name vcf-secure-user --user-password '<USER_PASSWORD>' --login [email protected] --password '<SSO_PASSWORD>'
/usr/lib/vmware-vmafd/bin/dir-cli group modify --name Sddc_Secured_Access --add vcf-secure-user --login [email protected] --password '<SSO_PASSWORD>'
2.Assign Administrator Role to user : [email protected] on vSphere client
3. Validate logging in to vsphere client with [email protected] credendials
4. In SDDC, add this user to SDDC with ADMIN/OPERATOR role
curl -X PUT localhost/backups/configuration -d '{"encryption": {"passphrase": "xxxxxx"}}' -H "Content-Type: application/json" -H "privileged-username: [email protected]" -H "privileged-password: xxxxxx" -i