backup-retention-policy

Design backup retention policies with the 3-2-1-1-0 rule and tiered storage.

19|5|Updated Nov 23, 2025
One-click install
npx skills add https://github.com/Nir-Bhay/markups --skill backup-retention-policy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backup-retention-policy
Source: https://github.com/Nir-Bhay/markups/tree/main/.agents/skills/backup-retention-policy
Command: npx skills add https://github.com/Nir-Bhay/markups --skill backup-retention-policy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides expert guidance on creating robust backup retention policies, implementing disaster recovery strategies, and managing data lifecycle across different storage tiers.

Core Features & Use Cases

  • Backup Strategy Design: Offers the 3-2-1-1-0 rule and tiered storage level recommendations.
  • Cloud Policy Examples: Provides JSON configurations for AWS S3 and Azure Blob lifecycle policies.
  • Scripting Examples: Includes bash scripts for backup rotation and database backups (PostgreSQL, MySQL).
  • Compliance & Planning: Outlines compliance requirements (GDPR, SOX, HIPAA) and RTO/RPO planning.
  • Validation & Monitoring: Demonstrates Python validation and YAML for monitoring alerts.

Quick Start

Configure a backup retention policy using the 3-2-1-1-0 rule and tiered storage levels.

Frequently Asked Questions about backup-retention-policy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the 3-2-1-1-0 backup rule and how does it improve disaster recovery?

The 3-2-1-1-0 rule is a data protection strategy requiring three copies of data on two different media, with one offsite, one offline copy, and zero errors after validation. It improves disaster recovery by ensuring redundant, verified backups survive various failure scenarios.

How do I configure AWS S3 lifecycle policies for data retention?

You can configure AWS S3 lifecycle policies using JSON configurations to automate data tiering and retention. This Skill provides specific JSON examples to transition objects between storage classes and expire them based on compliance requirements like GDPR or SOX.

How do I automate PostgreSQL and MySQL database backup rotation?

You can automate PostgreSQL and MySQL database backup rotation using bash scripts. This Skill includes practical scripting examples that handle backup creation and apply retention policies to delete outdated backups automatically.

How do I calculate RTO and RPO for disaster recovery planning?

Calculating RTO (Recovery Time Objective) and RPO (Recovery Point Objective) defines your maximum tolerable downtime and data loss during a disaster. This Skill outlines planning strategies to align your backup frequency and retention policies with these targets.

Does this backup retention policy guidance cover HIPAA and SOX compliance requirements?

Yes, this backup retention policy guidance covers HIPAA and SOX compliance requirements. It outlines specific data lifecycle management strategies to ensure your backup rotation and storage configurations meet regulatory standards for data preservation and auditability.