What problem does it solve?
Ransomware actors routinely delete or encrypt backups before triggering encryption, leaving organizations with no recovery path. This Skill builds a ransomware-resistant backup pipeline using restic with S3 Object Lock in Compliance mode, so backup snapshots cannot be deleted or modified by any principal, including compromised admin accounts.
Core Features & Use Cases
- Immutable Repository Setup: Initializes an encrypted restic repository (AES-256-CTR with Poly1305-AES) on S3-compatible storage with Object Lock in Compliance mode for WORM retention.
- Integrity Verification: Automates
restic check --read-data to validate every data blob against its checksum, catching bit-rot and tampering.
- Restore Testing & Retention Policy: Schedules restore tests with checksum comparison and enforces snapshot retention aligned with a 3-2-1-1-0 strategy.
- Use Case: A security engineer hardens backup infrastructure after a ransomware tabletop exercise, configuring a 90-day Compliance-mode lock on AWS S3, append-only IAM credentials for the backup client, and weekly automated restore verification.
Quick Start
Set up an immutable restic backup repository on my S3 bucket with Compliance-mode object lock, a 90-day retention window, and scheduled integrity checks with restore testing.