backup-restore-runbook-generator

Generates database backup scripts, restore procedures, and disaster recovery runbooks.

2|Updated Jun 5, 2026
One-click install
npx skills add https://github.com/sathishssj3/NexVR-Engine --skill backup-restore-runbook-generator-sathishssj3
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: backup-restore-runbook-generator
Source: https://github.com/sathishssj3/NexVR-Engine/tree/main/.agents/skills/backup-restore-runbook-generator
Command: npx skills add https://github.com/sathishssj3/NexVR-Engine --skill backup-restore-runbook-generator-sathishssj3

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams without documented disaster recovery procedures risk extended outages and unrecoverable data loss when database failures occur, and writing backup automation and DR runbooks from scratch is time-consuming. ## Core Features & Use Cases - Backup Automation Scripts: Produces ready-to-adapt shell scripts for PostgreSQL (pg_dump, pg_basebackup) and MySQL (mysqldump) with S3 upload, retention cleanup, and Slack notifications. - Restore & Validation Procedures: Includes full restore, point-in-time recovery (PITR) via WAL replay, and post-restore validation checks for table counts, constraints, indexes, and query performance. - DR Runbook with Roles: Generates an incident response runbook with step-by-step recovery phases, RTO/RPO tables, team role assignments, and escalation paths. - Use Case: A DevOps engineer preparing for a compliance audit uses this Skill to produce a complete DR package: hourly incremental backups to S3, a tested restore script, and a runbook assigning the DBA, engineering lead, and DevOps roles. ## Quick Start Generate a disaster recovery runbook with automated PostgreSQL backup scripts and restore validation checks for my production database.

Frequently Asked Questions about backup-restore-runbook-generator

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

FAQPage Schema
How do I automate PostgreSQL backups to S3?▼

Use pg_dump with custom format and compression, then upload the output file to S3 with aws s3 cp using the STANDARD_IA storage class. The generated script also verifies the upload, cleans up local backups older than 7 days, and sends a Slack notification.

How to perform point-in-time recovery in PostgreSQL?▼

Point-in-time recovery restores a base backup with pg_basebackup, then configures recovery.conf with a restore_command fetching WAL files from S3 and a recovery_target_time. PostgreSQL replays transaction logs until the target time and then promotes the instance.

What should a disaster recovery runbook include?▼

A DR runbook should include incident assessment steps, recovery point identification, environment preparation, restore execution, validation, cutover, and post-recovery monitoring. It also defines RTO/RPO targets, team role assignments, and an escalation path.

Does this support MySQL as well as PostgreSQL?▼

Yes, the Skill provides a MySQL backup script using mysqldump with --single-transaction for consistent backups without locking tables, compressed with gzip and uploaded to S3. Restore and PITR procedures are primarily documented for PostgreSQL.

How do I verify a database restore was successful?▼

Run validation checks comparing table counts, row counts on critical tables, foreign key constraints, and index counts against expected values. The validation script also times a sample query to detect missing indexes after restore.

How often should disaster recovery procedures be tested?▼

The Skill recommends quarterly DR drills to test restore procedures regularly. Backup health should be monitored continuously with automated alerts when no backup completes within 24 hours or when backup sizes appear suspiciously small.