- Newest
- Most votes
- Most comments
Restore testing job "Status" : This status is automatically updated and tells about the restore job was successful or failed.
Restore testing job "Validation status" : The validation status is used for the customer to validate whether the restore is working, for example the restore testing job that you have ran is corrupted and you can't use that recovery point for restore purposes you can update the validation status of that restore testing job as "FAILED" with additional "--validation-status-message" .
The time out happens if no **PutRestoreValidationResult** API call was made to update the validation status from the customer end in the period that you have set to keep the restored recovery point for. The Validation status is also marked as Timeout when the "Retention period before cleanup" is set to "Delete immediately", because the restored recovery point would be deleted immediately before we can perform the PutRestoreValidationResult API call.
Note that validation can be run programmatically but not from the AWS Backup console. [+] https://docs.aws.amazon.com/aws-backup/latest/devguide/restore-testing.html
Irrespective of the resource type - Aurora cluster,EC2 etc. The validation-status needs to be set manually after validating whether the restore worked or not.
For example, In my lab environment, I have configured 'Retention period before cleanup' (Under Assign resources section) as 'Retain for a specific number of hours' with 24 hours value. Further, when I have run the Restore plan test, I could notice the status of Validating to be 'VALIDATING' even after the restore is completed on EC2 recovery point. However, when I have run the PutRestoreValidationResult API call through CLI by passing the value for Validating Status as 'SUCCESSFUL', the validating status on the job changed to 'SUCCESSFUL'. This was the same scenario even when I have configured the Aurora recovery point for the restore plan testing.
You can resolve these "**Timed out**" status messages by performing the PutRestoreValidationResult API via AWS CLI or SDK. This API is not supported through the AWS Console. Once this API is run, the deletion of the of the restored data will begin deleting (to save on costs). To automate this, you can create a Lambda function that calls the PutRestoreValidationResult API and then integrate this with Amazon EventBridge (CloudWatch Events) and send back validation status so that it is reported in the restore job.
[+] https://docs.aws.amazon.com/aws-backup/latest/devguide/eventbridge.html
Relevant content
- asked 3 years ago
- asked 10 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 20 days ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago