Restore Primary Backup
This will restore the specified backup of the postgresql DB of the appliance, as well as other vcd specific files. This api endpoint should only be executed on the current postgresql HA primary appliance. The task will fail on Standby and Application-Cell appliances.
File name of the backup package to be restored from the transfer share. For example: backup-2021-07-13T215410+0000.zip
{
"nfs": "192.168.100.1:/data/transfer",
"httpCert": false,
"consoleproxyCert": false,
"pgmanagementCert": false
}
Response Body is empty. Response includes Location header with URL to related task-id.
Response Headers
Task URL. Example: https://<vcd-appliance-ip>:5480/api/1.0.0/tasks/<task-id>
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"nfs:"string"}' https://{api_host}/api/1.0.0/backups/{backup-name}/restore