本文へ移動
cccskills
無料GitHub で公開

backup-retention-erasure

Manages backup and archive data under retention schedules and erasure obligations. Covers the technical infeasibility exception for backup deletion, backup cycle alignment with retention periods, restore-and-delete procedures, and interim protective measures during backup retention. Activate for backup deletion, archive erasure, backup retention, restore and delete, technical infeasibility queries.

インストール方法を見る

含まれるファイル(5)

  • SKILL.md14.3 KB
  • assets/template.md2.7 KB
  • references/standards.md2.5 KB
  • references/workflows.md3.5 KB
  • scripts/process.py9.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Backup Retention and Erasure Management

Overview

Backup and archive systems present unique challenges for data retention and erasure compliance. Unlike primary systems where individual records can be selectively deleted, backup media typically stores data as monolithic sets that cannot be surgically modified without restoration. When a data subject exercises the right to erasure under GDPR Article 17 or when a retention period expires, the organization must address personal data residing in backups. The technical infeasibility of granular deletion from backups is a recognized limitation, but it does not exempt organizations from their obligations — it requires documented interim measures and eventual deletion through backup rotation or restore-and-delete procedures. This skill provides the operational framework for managing backup data under retention and erasure obligations.

Legal Context

GDPR Recital 66 — Erasure in Online Environments

The right to erasure should extend to cases where the controller has made the personal data public — the controller should take reasonable steps to inform other controllers processing the data. In the backup context, this principle requires that erasure obligations extend to backup copies even when immediate deletion is technically infeasible.

GDPR Article 17(1) — Right to Erasure

The controller shall erase personal data "without undue delay." The EDPB and national DPAs have acknowledged that backup systems may require a longer timeframe, but have not granted an indefinite exception. The expectation is that backup deletion occurs within the next backup rotation cycle.

ICO Guidance on Backup Deletion

The UK ICO has stated that where it is not technically feasible to erase data from backup systems immediately, the organization should:

  1. Put the backup data "beyond use" — ensure it cannot be accessed or used for any purpose.
  2. Ensure the data is deleted when the backup is next overwritten or rotated.
  3. Document the approach and timeframe.
  4. Inform the data subject of the backup deletion timeline.

EDPB Position

The European Data Protection Board has acknowledged in various guidelines that backup systems may present technical challenges for erasure. The general position is:

  • Immediate deletion from live/primary systems is expected.
  • Backup deletion should occur within a reasonable timeframe aligned with the backup rotation cycle.
  • During the interim period, the data in backups must be "beyond use" — not accessed for any purpose.

Backup System Types and Erasure Approach

Erasure Strategy by Backup Type

Backup TypeDescriptionGranular Deletion Possible?Erasure ApproachTypical Cycle
Full backup (disk-based)Complete copy of all data to disk storageGenerally no (restoring full backup and selectively deleting is possible but resource-intensive)Wait for rotation cycle; implement restore-and-delete for urgent requestsWeekly-Monthly
Incremental backup (disk-based)Only changes since last backupNoWait for rotation cycleDaily
Differential backup (disk-based)Changes since last full backupNoWait for rotation cycleDaily
Tape backup (LTO)Data written sequentially to magnetic tapeNo (tape is sequential; selective deletion impossible without full rewrite)Wait for tape rotation cycle; for extended retention tapes, consider restore-and-deleteMonthly-Annual
Cloud backup (managed)Cloud-based backup service (e.g., AWS Backup, Azure Backup, Veeam Cloud Connect)Depends on vendor — some support item-level recovery and deletionCheck vendor capability; if no granular deletion, wait for retention policy expiryPer configured policy
Snapshot-based backupPoint-in-time copies of storage volumesNo (snapshot is immutable)Wait for snapshot retention policy expiry; ensure policy aligns with retention scheduleDaily-Weekly
Database backup (logical)SQL dumps, export filesNo (dump file is a single file)Wait for rotation; or restore to temporary environment, delete, re-exportDaily-Weekly
Archive (cold storage)Long-term archival in cold/offline storage (e.g., AWS Glacier, Azure Archive, tape vaults)NoRestore-and-delete for erasure requests; or wait for archive retention policy expiryAnnual-Multi-year

Backup Retention Alignment

Aligning Backup Cycles with Retention Schedule

The backup retention period must not exceed the longest applicable data retention period. If backups retain data beyond the retention schedule, the organization holds data in violation of the storage limitation principle.

Backup Retention Configuration for Orion Data Vault Corp

Backup LevelRetention PeriodRotation CycleAlignment with Retention Schedule
Daily incremental30 daysOldest daily deleted after 30 daysShorter than all data category retention periods — compliant
Weekly full90 daysOldest weekly deleted after 90 daysShorter than all data category retention periods — compliant
Monthly full12 monthsOldest monthly deleted after 12 monthsShorter than most retention periods; CCTV (30 days) and unsuccessful applicant data (6 months) may need specific exclusion
Quarterly archive24 monthsOldest quarterly deleted after 24 monthsCovers marketing data (2 years); need to verify no shorter-retention categories are included unnecessarily
Annual archive7 yearsOldest annual deleted after 7 yearsAligned with longest statutory retention (financial records: 6-7 years)

Gap Analysis

[For each data category in the retention schedule]
         │
         ▼
[What is the retention period?]
         │
         ▼
[Is this data included in backup sets that are retained longer than the retention period?]
   │
   ├── No ──► Compliant — backup rotation will delete data before or at retention expiry
   │
   └── Yes ──► COMPLIANCE GAP
               │
               ├── Option A: Exclude this data category from long-retention backup sets
               │     (segregate data by retention tier; back up separately)
               │
               ├── Option B: Reduce backup retention to match the shortest data category
               │     (may conflict with business continuity requirements)
               │
               └── Option C: Accept interim retention in backups with protective measures
                     (document "beyond use" controls; delete at next rotation)
                     MAXIMUM acceptable overshoot: 90 days beyond retention period

Restore-and-Delete Procedure

For situations where backup deletion cannot wait for the rotation cycle (e.g., urgent Art. 17 requests, DPA enforcement):

PROCEDURE: RESTORE-AND-DELETE
Organization: Orion Data Vault Corp
Procedure ID: BKP-RAD-001

TRIGGER: Art. 17 erasure request where data exists only in backups
         and backup rotation will not occur within an acceptable timeframe

PREREQUISITES:
- All primary system deletion confirmed complete
- Backup system granular deletion confirmed infeasible
- DPO has approved restore-and-delete approach
- Next backup rotation > 90 days away

PROCEDURE:

Step 1: Identify Relevant Backup Sets
   - Query backup catalog for sets containing data subject's data
   - List all relevant backup sets with dates and storage locations
   - Estimated effort: [hours/days]

Step 2: Provision Isolated Restore Environment
   - Create isolated network segment (no connectivity to production)
   - Provision temporary storage sufficient for backup restoration
   - Apply access controls (authorized personnel only)
   - Enable full audit logging

Step 3: Restore Backup to Isolated Environment
   - Restore the backup set(s) to the isolated environment
   - Verify restoration integrity (checksum validation)

Step 4: Execute Granular Deletion
   - Identify and delete the data subject's records from the restored data
   - Verify deletion (query for data subject's identifiers — zero results expected)

Step 5: Create Replacement Backup
   - Export the cleaned data as a replacement backup set
   - Verify replacement backup integrity
   - Store replacement backup in the same tier as the original

Step 6: Destroy Original Backup
   - Delete or overwrite the original backup set containing the data subject's data
   - If tape: degauss and destroy the original tape
   - If disk: secure overwrite of original backup files
   - Generate destruction confirmation

Step 7: Decommission Restore Environment
   - Securely wipe the isolated restore environment
   - Release temporary storage
   - Disable the isolated network segment

Step 8: Documentation
   - Record all steps in the deletion confirmation record
   - Update the data subject's erasure request file with backup deletion confirmation
   - Log total time and resources consumed (for future planning)

ESTIMATED TIMELINE: 5-15 business days depending on backup size
ESTIMATED COST: [Track for each execution — informs cost-benefit analysis]

Interim Protective Measures ("Beyond Use")

While personal data remains in backups pending rotation or restore-and-delete, the following interim measures must be in place:

"Beyond Use" Controls

ControlImplementationVerification
Access restrictionBackup restoration requests require DPO approval for any data that has been deleted from primary systems or has exceeded retentionQuarterly audit of backup restoration requests
Purpose restrictionBackup data may only be accessed for disaster recovery or business continuity — not for operational use, analytics, or data subject requestsPolicy documented; staff trained
Restoration screeningIf a backup containing deleted data must be restored for DR purposes, the deleted records must be re-deleted from the restored environment before it goes into productionRestoration procedure includes deletion checklist
Suppression listMaintain a suppression list of data subjects whose data has been deleted from primary systems. Cross-reference against any backup restoration to ensure re-deletionSuppression list checked at every restoration event
EncryptionAll backup media is encrypted (AES-256). Encryption keys are managed separately. In extreme cases, destruction of the encryption key can render backup data irrecoverableAnnual key management audit
LoggingAll backup access, restoration, and deletion events are logged in an immutable audit trailMonthly audit log review

Backup Restoration Procedure (with Erasure Compliance)

When a backup must be restored for disaster recovery and it contains data that has been deleted from primary systems:

[Disaster Recovery Event — Backup Restoration Required]
         │
         ▼
[Select Appropriate Backup Set for Restoration]
         │
         ▼
[Check: Does this backup pre-date any completed erasure requests or retention expiry deletions?]
   │
   ├── No ──► [Restore normally — no erasure compliance action needed]
   │
   └── Yes ──► [Retrieve Suppression List]
               │
               ▼
         [Restore backup to production environment]
               │
               ▼
         [IMMEDIATELY execute deletion of all records matching suppression list]
               │
               ├── Automated: Run deletion script against suppression list
               │   (pre-built script must exist — test quarterly)
               │
               └── Manual (if automated script fails): Assign to data team
                   with 24-hour SLA for completion
               │
               ▼
         [Verify deletion — zero records for suppressed data subjects]
               │
               ▼
         [Log re-deletion event in erasure confirmation records]
               │
               ▼
         [Resume normal operations]

Compliance Monitoring

Quarterly Backup Retention Audit

CheckMethodExpected Result
Backup retention periods align with retention scheduleCompare backup retention configuration against current retention scheduleNo backup tier retains data longer than the longest applicable retention period
"Beyond use" controls activeReview access logs for backup restoration; verify DPO approval obtained for all restorations of post-deletion backupsZero unauthorized restorations
Suppression list currencyVerify suppression list includes all data subjects deleted from primary systems since the oldest backup set date100% coverage
Rotation complianceVerify oldest backup set date matches expected rotation dateWithin 7 days of expected rotation
Encryption verificationVerify all backup media is encrypted100% encryption coverage
Restore-and-delete executionFor any pending restore-and-delete operations, verify progress and timelineAll operations within committed timeline

Metrics Reported to DPO

MetricTargetFrequency
Average backup retention overshoot (beyond retention schedule)≤ 90 daysQuarterly
Restore-and-delete completion time≤ 15 business daysPer execution
Suppression list size (active entries)Track trendMonthly
Backup restoration events requiring re-deletionTrack countQuarterly
Backup sets containing data beyond retention periodZero (after rotation cycle)Monthly

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Implements 42 CFR Part 2 protections for substance use disorder patient records. Covers written consent requirements stricter than HIPAA, re-disclosure prohibition, court order procedures, qualified service organization agreements, and 2024 amendments aligning Part 2 with HIPAA. Keywords: 42 CFR Part 2, substance use disorder, SUD records, re-disclosure, consent, Part 2 amendments.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Guides assessment of third-country adequacy decisions under GDPR Article 45 for international data transfers. Covers the current EC adequacy decisions list, adequacy assessment criteria, partial adequacy handling, and monitoring of adequacy decision reviews. Keywords: adequacy decision, Article 45, third country, adequate protection, EC adequacy list.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Implements age-gating mechanisms for online services to restrict access based on user age. Covers hard gates versus soft gates, neutral age prompts, re-verification triggers, circumvention prevention, and regulatory requirements under GDPR, COPPA, UK Online Safety Act, and DSA. Keywords: age gate, age restriction, neutral prompt, children, online services, access control.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Evaluates and implements age estimation and verification technologies for online services. Covers facial age estimation, digital ID verification, self-declaration with risk assessment, AI-based age estimation, and the accuracy versus privacy tradeoff. Includes ICO guidance and euCONSENT framework. Keywords: age verification, age estimation, facial analysis, digital ID, children, online safety.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Preparing EU AI Act compliance documentation for high-risk AI systems. Covers Annex III classification, technical documentation under Art. 11, conformity assessment, risk management systems, and CE marking requirements. Keywords: EU AI Act, high-risk AI, Annex III, conformity assessment, CE marking.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Implements GDPR Art. 22 automated decision-making and AI Act Art. 14 human oversight requirements for AI systems. Covers identification of solely automated decisions, meaningful human intervention design, logic explanation mechanisms, and contestation procedures. Keywords: Art. 22, automated decision, human oversight, AI Act, profiling, contestation.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

mukul975 のスキルをすべて見る

このスキルの問題を報告する