[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EV86AAT7NQ8DG7WXNMRZP8":3,"skill-same:01M6EV86AAT7NQ8DG7WXNMRZP8":119},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":26,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":80,"commitSha":81,"skillDirectory":82,"forksCount":14,"repositoryHtmlUrl":83,"repositoryHomepageUrl":84,"ownerHtmlUrl":85,"ownerBlogUrl":6,"ownerDescription":86,"updatedAt":87,"install":88,"resources":101},"01M6EV86AAT7NQ8DG7WXNMRZP8","implementing-immutable-backup-with-restic",null,"Implements immutable backup strategy using restic with S3-compatible storage and object lock for ransomware-resistant data protection. Automates backup creation, integrity verification via restic check --read-data, snapshot retention policy enforcement, and restore testing. Integrates with AWS S3 Object Lock, MinIO, and Backblaze B2 for WORM (Write Once Read Many) storage that prevents backup deletion or encryption by ransomware actors.","henriquescastilho\u002Fmy-claude","henriquescastilho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153296945?v=4","01M6ESH7EXPXTH9CVQ4K16SRG8","Henrique Scheer","01M6ESH7JHEK2PTNNH4HEH787Z",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"immutable","with","implementing immutable backup with restic","backup","restic","encryption","t1078","t1490","ransomware","verification","testing","storage","read","aml","backup strategy","map","creation","aws s3","retention","cybersecurity","2026-11-10 10:12:30",false,"---\nname: implementing-immutable-backup-with-restic\ndescription: 'Implements immutable backup strategy using restic with S3-compatible\n  storage and object lock for ransomware-resistant data protection. Automates backup\n  creation, integrity verification via restic check --read-data, snapshot retention\n  policy enforcement, and restore testing. Integrates with AWS S3 Object Lock, MinIO,\n  and Backblaze B2 for WORM (Write Once Read Many) storage that prevents backup deletion\n  or encryption by ransomware actors.\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":52,"author":57,"domain":46,"license":15,"version":58,"nist_csf":59,"subdomain":64,"description":65,"nist_ai_rmf":66,"mitre_attack":70,"atlas_techniques":76},[31,30,27,35,53,54,55,56],"s3","object-lock","worm","recovery","mahipal","1.0.0",[60,61,62,63],"PR.DS-11","RS.MA-01","RC.RP-01","PR.IR-01","ransomware-defense","Implements immutable backup strategy using restic with S3-compatible storage and object lock for ransomware-resistant data protection. Automates backup creation, integrity verification via restic check --read-data, snapshot retention policy enforcement, and restore testing. Integrates with AWS S3 Object Lock, MinIO, and Backblaze B2 for WORM (Write Once Read Many) storage that prevents backup deletion or encryption by ransomware actors.\n",[67,68,69],"MEASURE-2.7","MAP-5.1","MANAGE-2.4",[71,72,73,74,75],"T1078","T1190","T1059","T1486","T1490",[77,78,79],"AML.T0070","AML.T0066","AML.T0082","main","7925716f065257435fdb12e97f7e52842147d5ad",".claude\u002Fskills\u002Fimplementing-immutable-backup-with-restic","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude","https:\u002F\u002Fclaude.com\u002Fclaude-code","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho","Software · Applied AI · Quantitative Modeling · Building with Claude.","2026-06-10 12:24:46",{"source":8,"skillName":5,"commands":89,"prompt":99,"zipAvailable":100},[90,93,96],{"tool":91,"command":92},"npx","npx skills add henriquescastilho\u002Fmy-claude --skill implementing-immutable-backup-with-restic",{"tool":94,"command":95},"bunx","bunx skills add henriquescastilho\u002Fmy-claude --skill implementing-immutable-backup-with-restic",{"tool":97,"command":98},"pnpm","pnpm dlx skills add henriquescastilho\u002Fmy-claude --skill implementing-immutable-backup-with-restic","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002FSKILL.md",true,[102,107,113],{"path":103,"resourceType":103,"resourceTypeDesc":104,"sizeBytes":105,"sourceHtmlUrl":106},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002FLICENSE",{"path":108,"resourceType":109,"resourceTypeDesc":110,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002Fapi-reference.md","REFERENCE","参考文档",3035,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002Freferences\u002Fapi-reference.md",{"path":114,"resourceType":115,"resourceTypeDesc":116,"sizeBytes":117,"sourceHtmlUrl":118},"scripts\u002Fagent.py","SCRIPT","脚本",17170,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-immutable-backup-with-restic\u002Fscripts\u002Fagent.py",[120,159,168,177,197,223],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":124,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":141,"publishedAt":47},"01M6F0B6XPQ65AX2X0DWK8KT3E","markitdown","Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.","MIT","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[127,130,133,136],{"categoryNo":128,"categoryName":129,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",{"categoryNo":131,"categoryName":132,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":134,"categoryName":135,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":137,"categoryName":138,"taxonomyType":139,"taxonomyTypeDesc":140},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[122,142,143,144,145,146,147,148,149,150,151,152,39,153,154,155,156,157,158,28],"docx","PDF","pptx","xlsx","documents","csv","ocr","Audio","Bash","markdown","convert","write","edit","html","images","files","youtube",{"skillNo":160,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":124,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":167,"publishedAt":47},"01M6F06SBHR9F0SDWE282Y8075","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fscientific_writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[163,164,165,166],{"categoryNo":128,"categoryName":129,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":131,"categoryName":132,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":134,"categoryName":135,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":137,"categoryName":138,"taxonomyType":139,"taxonomyTypeDesc":140},[122,142,143,144,145,146,147,148,149,150,151,152,39,153,154,155,156,157,158,28],{"skillNo":169,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":124,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":176,"publishedAt":47},"01M6F02D4R14EJAPBWVDF9J9VQ","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[172,173,174,175],{"categoryNo":128,"categoryName":129,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":131,"categoryName":132,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":134,"categoryName":135,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":137,"categoryName":138,"taxonomyType":139,"taxonomyTypeDesc":140},[122,142,143,144,145,146,147,148,149,150,151,152,39,153,154,155,156,157,158,28],{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":124,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":47},"01M6F000KS6YB4MKS774G4R8ND","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fzarr-python\u002FSKILL.md",[],[184,185,38,186,53,187,188,189,190,191,192,193,194,195,196],"python","zarr python","integration","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":124,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":204,"publishedAt":47},"01M6EZZJWFXM1GR78KTW6J0DN8","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fwhat-if-oracle\u002FSKILL.md",[203],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[205,206,207,208,209,210,211,212,213,214,215,39,153,216,217,218,219,220,221,222],"oracle","what if oracle","go","run","ux","futures","analysis","explore","decision","branch","question","idea","exploration","options","stress-test","strategies","scenario","stress",{"skillNo":224,"name":225,"nameZh":6,"description":226,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":124,"licenseFileUrl":6,"sourceHtmlUrl":227,"categories":228,"keywords":239,"publishedAt":47},"01M6EZZCXAEB49RXGQCJX5E8GB","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fvenue-templates\u002FSKILL.md",[229,232,235,236],{"categoryNo":230,"categoryName":231,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":233,"categoryName":234,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":237,"categoryName":238,"taxonomyType":139,"taxonomyTypeDesc":140},"01JBSEEDCAT000000000000036","内容创作者",[240,241,242,243,244,245,246,247,150,248,39,153,154,249,250,251,252,253,196,254],"templates","venue templates","research","guidelines","NeurIPS","ICML","LaTeX","science","access","proposals","Academic","requirements","formatting","journal","chi"]