database-backup-restore
CommunitySecure your data, effortlessly restore peace.
Authorfattits30-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill eliminates the risk of data loss and complex recovery by automating SQLite database backups and providing safe restoration procedures. It ensures data integrity and offers point-in-time recovery, saving you from manual, error-prone processes.
Core Features & Use Cases
- Automated Backups: Creates scheduled and event-triggered backups (e.g., before migrations, on app start).
- Safe Restoration: Restores databases with checksum validation and automatically creates a safety backup of the current state.
- Disaster Recovery & GDPR Export: Supports point-in-time recovery and user data exports in machine-readable formats for GDPR compliance.
- Use Case: Before a major database migration, Claude automatically creates a validated backup. If the migration fails, it can instantly restore the database to its pre-migration state, saving hours of manual recovery and ensuring data integrity.
Quick Start
Create a manual backup with a description
pnpm db:backup manual "Before major refactor"
List all available backups
pnpm db:backup:list
Restore from a specific backup file
pnpm db:restore justice-2025-10-21-1400.db
Dependency Matrix
Required Modules
better-sqlite3tsx
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: database-backup-restore Download link: https://github.com/fattits30-dev/Justice-Companion/archive/main.zip#database-backup-restore Please download this .zip file, extract it, and install it in the .claude/skills/ directory.