This rule ensures that backup recovery points do not expire before the specified retention period to maintain data integrity.
Rule | Backup recovery points should not expire before retention period |
Framework | GxP EU Annex 11 |
Severity | ✔ Low |
Rule Details
Description
The rule ensures that backup recovery points for GxP EU Annex 11 compliant systems should not expire before the specified retention period. This is to ensure that all necessary backups are retained for the required duration in order to comply with regulatory requirements.
Implementation
To implement this rule, it is necessary to configure the backup system and retention settings accordingly. The backup system should be able to manage and retain recovery points for the defined retention period, and prevent them from expiring prematurely.
Troubleshooting Steps
If backups are expiring before the defined retention period, the following troubleshooting steps can be followed:
Code Examples
The specific code examples for this rule will depend on the backup system in use. The following example demonstrates a generic command for backup retention setup using the AWS Command Line Interface (CLI):
aws backup put-lifecycle --lifecycle-name GxP_EU_Annex11_Lifecycle --resource-type RecoveryPoint --lifecycle-policy "{\"Rules\":[{\"RuleName\":\"RetentionRule\",\"TargetTags\":{\"TagValues\":[\"GxP_EU_Annex11\"]},\"ScheduleExpression\":\"cron(0 0 * * ? *)\",\"LifecycleTransition\":\"RETIRE\",\"DeleteAfterDays\":365}]}"
This command sets up a retention policy named "GxP_EU_Annex11_Lifecycle" for recovery points associated with resources tagged as "GxP_EU_Annex11". The
DeleteAfterDays
parameter specifies the number of days after which the recovery points will be retired and can be safely deleted.Remediation Steps
Follow these steps to remediate any issues related to backup recovery point expiration:
By following these steps, the backup recovery points will retain the required duration as per GxP EU Annex 11 and ensure compliance with applicable regulations.