Symptoms
The whmapi1 backup_destination_validate call always returns true (valid) regardless if it fails or not.
Description
We noticed on an internal server that backups were not validating, yet the whmapi1 backup_destination_validate call always returned true/valid, even when the UI failed validation.
whmapi1 backup_destination_validate id=8vLi_z_We_MxB79xX4IDbrP2 disableonfail=0
---
data:
id: 8vLi_z_We_MxB79xX4IDbrP2
metadata:
command: backup_destination_validate
reason: OK
result: 1
version: 1
When clicking the "Validate" button within "WHM / Backups / Backup Configuration / Additional Destinations (tab)", this shows an error.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-48879. Follow this article to receive an email notification when a solution is published in the product.
Workaround
Use the UI to validate your backups, not the API (currently) until fixed.