[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D9JZBPCF6T3XK4QXFBCRPC":3,"skill-same:01M7D9JZBPCF6T3XK4QXFBCRPC":97},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":61,"repositoryHtmlUrl":62,"repositoryHomepageUrl":6,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M7D9JZBPCF6T3XK4QXFBCRPC","implementing-immutable-backup-with-restic",null,"Implements ransomware-resistant backups using restic with S3-compatible Object Lock (AWS S3, MinIO, Backblaze B2), automating backup creation, integrity checks via restic check --read-data, retention enforcement, and restore testing. Use when building immutable backup infrastructure, adding a WORM copy to a 3-2-1-1-0 strategy, or automating scheduled backup-verification workflows.","SaiVatsal\u002FSkills-I-Use","SaiVatsal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F242597752?v=4","01M7D5YM1T4VXW9203M0GFAHZ1","SaiVatsalPolimera","01M7D5YM2D61ST39XVR2V7B7ZJ",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: implementing-immutable-backup-with-restic\ndescription: 'Implements ransomware-resistant backups using restic with S3-compatible\n  Object Lock (AWS S3, MinIO, Backblaze B2), automating backup creation, integrity\n  checks via restic check --read-data, retention enforcement, and restore testing.\n  Use when building immutable backup infrastructure, adding a WORM copy to a\n  3-2-1-1-0 strategy, or automating scheduled backup-verification workflows.\n\n  '\ndomain: cybersecurity\nsubdomain: ransomware-defense\ntags:\n- restic\n- backup\n- immutable\n- ransomware\n- s3\n- object-lock\n- worm\n- recovery\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- MEASURE-2.7\n- MAP-5.1\n- MANAGE-2.4\natlas_techniques:\n- AML.T0070\n- AML.T0066\n- AML.T0082\nnist_csf:\n- PR.DS-11\n- RS.MA-01\n- RC.RP-01\n- PR.IR-01\nmitre_attack:\n- T1078\n- T1190\n- T1059\n- T1486\n- T1490\n---\n# Implementing Immutable Backup with Restic\n\n## When to Use\n\n- Establishing ransomware-resistant backup infrastructure with cryptographic integrity verification\n- Implementing 3-2-1-1-0 backup strategy where the extra 1 is an immutable copy\n- Automating backup verification workflows that test restore capability on a schedule\n- Protecting backup repositories from deletion or modification by compromised admin accounts\n- Meeting compliance requirements for data retention with tamper-proof storage\n\n**Do not use** as the sole backup solution without also maintaining offline\u002Fair-gapped copies. Object lock protects against logical deletion but not physical storage failure.\n\n## Prerequisites\n\n- restic binary installed (https:\u002F\u002Frestic.readthedocs.io\u002F)\n- S3-compatible storage with Object Lock enabled (AWS S3, MinIO, Backblaze B2)\n- Python 3.8+ with subprocess module\n- AWS CLI or MinIO client (mc) configured for bucket access\n- Sufficient storage for backup repository (typically 2-3x source data with deduplication)\n\n## Workflow\n\n### Step 1: Initialize Restic Repository with Encryption\n\nCreate an encrypted restic repository on S3-compatible storage with object lock enabled. Restic uses AES-256-CTR for encryption with Poly1305-AES for authentication, ensuring backup data is both confidential and tamper-evident.\n\n### Step 2: Configure Object Lock Retention\n\nEnable S3 Object Lock in Compliance mode on the backup bucket to prevent any principal (including root) from deleting or modifying objects during the retention period. Set retention to match your backup window requirements (typically 30-90 days).\n\n### Step 3: Automate Backup and Verification\n\nSchedule backup operations with post-backup integrity verification using `restic check --read-data` which downloads and verifies every data blob against its stored checksum. Log results and alert on any integrity failures.\n\n### Step 4: Test Restore Procedures\n\nPeriodically restore random files from backup snapshots to a temporary location and compare checksums against the original to validate end-to-end backup integrity. Document restore times for RTO planning.\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **Object Lock** | S3 feature that prevents object deletion or overwrite for a specified retention period |\n| **Compliance Mode** | Object Lock mode where even the root account cannot delete objects before retention expires |\n| **Deduplication** | Restic stores data in content-addressable chunks, deduplicating across all snapshots |\n| **3-2-1-1-0** | 3 copies, 2 media types, 1 offsite, 1 immutable, 0 errors in verification |\n\n## Tools & Systems\n\n- **restic**: Fast, secure, cross-platform backup tool with built-in encryption and deduplication\n- **resticpy**: Python wrapper for restic CLI operations\n- **AWS S3 Object Lock**: WORM storage for tamper-proof backup retention\n- **MinIO**: Self-hosted S3-compatible storage with Object Lock support\n\n## Output Format\n\n```\nBACKUP VERIFICATION REPORT\n===========================\nRepository: s3:s3.amazonaws.com\u002Fcompany-backups-immutable\nSnapshots: 45\nTotal Size: 2.3 TiB (deduplicated from 8.7 TiB)\nLast Backup: 2026-03-11T02:00:00Z\nIntegrity Check: PASSED (all packs verified)\nObject Lock: Compliance mode, 90-day retention\nRestore Test: PASSED (15 files verified)\n```\n","# Implementing Immutable Backup with Restic\n\n## When to Use\n\n- Establishing ransomware-resistant backup infrastructure with cryptographic integrity verification\n- Implementing 3-2-1-1-0 backup strategy where the extra 1 is an immutable copy\n- Automating backup verification workflows that test restore capability on a schedule\n- Protecting backup repositories from deletion or modification by compromised admin accounts\n- Meeting compliance requirements for data retention with tamper-proof storage\n\n**Do not use** as the sole backup solution without also maintaining offline\u002Fair-gapped copies. Object lock protects against logical deletion but not physical storage failure.\n\n## Prerequisites\n\n- restic binary installed (https:\u002F\u002Frestic.readthedocs.io\u002F)\n- S3-compatible storage with Object Lock enabled (AWS S3, MinIO, Backblaze B2)\n- Python 3.8+ with subprocess module\n- AWS CLI or MinIO client (mc) configured for bucket access\n- Sufficient storage for backup repository (typically 2-3x source data with deduplication)\n\n## Workflow\n\n### Step 1: Initialize Restic Repository with Encryption\n\nCreate an encrypted restic repository on S3-compatible storage with object lock enabled. Restic uses AES-256-CTR for encryption with Poly1305-AES for authentication, ensuring backup data is both confidential and tamper-evident.\n\n### Step 2: Configure Object Lock Retention\n\nEnable S3 Object Lock in Compliance mode on the backup bucket to prevent any principal (including root) from deleting or modifying objects during the retention period. Set retention to match your backup window requirements (typically 30-90 days).\n\n### Step 3: Automate Backup and Verification\n\nSchedule backup operations with post-backup integrity verification using `restic check --read-data` which downloads and verifies every data blob against its stored checksum. Log results and alert on any integrity failures.\n\n### Step 4: Test Restore Procedures\n\nPeriodically restore random files from backup snapshots to a temporary location and compare checksums against the original to validate end-to-end backup integrity. Document restore times for RTO planning.\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **Object Lock** | S3 feature that prevents object deletion or overwrite for a specified retention period |\n| **Compliance Mode** | Object Lock mode where even the root account cannot delete objects before retention expires |\n| **Deduplication** | Restic stores data in content-addressable chunks, deduplicating across all snapshots |\n| **3-2-1-1-0** | 3 copies, 2 media types, 1 offsite, 1 immutable, 0 errors in verification |\n\n## Tools & Systems\n\n- **restic**: Fast, secure, cross-platform backup tool with built-in encryption and deduplication\n- **resticpy**: Python wrapper for restic CLI operations\n- **AWS S3 Object Lock**: WORM storage for tamper-proof backup retention\n- **MinIO**: Self-hosted S3-compatible storage with Object Lock support\n\n## Output Format\n\n```\nBACKUP VERIFICATION REPORT\n===========================\nRepository: s3:s3.amazonaws.com\u002Fcompany-backups-immutable\nSnapshots: 45\nTotal Size: 2.3 TiB (deduplicated from 8.7 TiB)\nLast Backup: 2026-03-11T02:00:00Z\nIntegrity Check: PASSED (all packs verified)\nObject Lock: Compliance mode, 90-day retention\nRestore Test: PASSED (15 files verified)\n```\n",{"name":5,"tags":25,"author":34,"domain":35,"license":15,"version":36,"nist_csf":37,"subdomain":42,"description":43,"nist_ai_rmf":44,"mitre_attack":48,"atlas_techniques":54},[26,27,28,29,30,31,32,33],"restic","backup","immutable","ransomware","s3","object-lock","worm","recovery","mahipal","cybersecurity","1.0.0",[38,39,40,41],"PR.DS-11","RS.MA-01","RC.RP-01","PR.IR-01","ransomware-defense","Implements ransomware-resistant backups using restic with S3-compatible Object Lock (AWS S3, MinIO, Backblaze B2), automating backup creation, integrity checks via restic check --read-data, retention enforcement, and restore testing. Use when building immutable backup infrastructure, adding a WORM copy to a 3-2-1-1-0 strategy, or automating scheduled backup-verification workflows.\n",[45,46,47],"MEASURE-2.7","MAP-5.1","MANAGE-2.4",[49,50,51,52,53],"T1078","T1190","T1059","T1486","T1490",[55,56,57],"AML.T0070","AML.T0066","AML.T0082","main","8a3b3de73262a4c4db64523949360f3c599c2fb1","Anthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-immutable-backup-with-restic",0,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use","https:\u002F\u002Fgithub.com\u002FSaiVatsal","https:\u002F\u002Fsaivatsal.github.io\u002FPortfolio\u002F","The Longer It Takes The Stronger It Becomes ","2026-09-21 22:45:58",{"source":8,"skillName":5,"commands":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add SaiVatsal\u002FSkills-I-Use --skill implementing-immutable-backup-with-restic",{"tool":73,"command":74},"bunx","bunx skills add SaiVatsal\u002FSkills-I-Use --skill implementing-immutable-backup-with-restic",{"tool":76,"command":77},"pnpm","pnpm dlx skills add SaiVatsal\u002FSkills-I-Use --skill implementing-immutable-backup-with-restic","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002FSKILL.md",true,[81,85,91],{"path":82,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fapi-reference.md","REFERENCE","参考文档",3035,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002Freferences\u002Fapi-reference.md",{"path":92,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":95,"sourceHtmlUrl":96},"scripts\u002Fagent.py","SCRIPT","脚本",17170,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002Fscripts\u002Fagent.py",[98,106,114,123,130,137],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":20},"01M7DJZP6E6KMBQV4CZSDPZEZ8","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":20},"01M7DJZFTS5TS06K2TV3MDTE67","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":118,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":20},"01M7DJRK4SRQ908F2TJM6EZ7EV","ui-styling","Create beautiful, accessible user interfaces with shadcn\u002Fui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.","MIT","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":118,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":20},"01M7DJR902059VEQP23PVM2WA0","design","Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social\u002Fads\u002Fweb\u002Fprint), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":118,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":20},"01M7DJR56QF5N6XYTCPCFHFMNP","design-system","Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing\u002Ftypography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign-system\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":118,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":20},"01M7DJQXB6M0SFF7NX8J5N01AH","banner-design","Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter\u002FX, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fbanner-design\u002FSKILL.md",[],[]]