backup-setup

Set up, check, or restore local claude-mem database snapshots.

115k|10.0k|Updated Aug 31, 2025
Ready to run
npx skills add https://github.com/thedotmack/claude-mem --skill backup-setup-thedotmack
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: backup-setup
Source: https://github.com/thedotmack/claude-mem/tree/main/plugin/skills/backup-setup
Command: npx skills add https://github.com/thedotmack/claude-mem --skill backup-setup-thedotmack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? You need to protect your accumulated claude-mem memories against data loss or corruption. This Skill automates backup scheduling, status monitoring, and database restoration without manual intervention. ## Core Features & Use Cases - Automatic Snapshots: Configure hourly to weekly backup intervals and retention policies. - Status Monitoring: Check backup health, last snapshot time, and restore history. - Database Restoration: List available snapshots and restore your database to any previous state, with automatic preservation of the replaced database. - Use Case: After weeks of building up memories in claude-mem, you want automatic daily snapshots kept for a month. If corruption occurs, restore from a known-good snapshot in minutes. ## Quick Start Tell the AI to set up backups with a 24-hour interval keeping 7 snapshots, then check the status.

Frequently Asked Questions about backup-setup

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

FAQPage Schema
How do I set up automatic backups for claude-mem?▼

Run the backup-setup Skill with 'setup' argument. Specify backup interval in hours (1-168) and snapshot retention count (1-100), then restart the worker to activate the schedule.

Where are claude-mem backups stored?▼

Automatic snapshots are stored as standalone SQLite files in ~/.claude-mem/backups/auto/. Each snapshot is a complete, independent database file kept on your local machine.

Can I restore a backup without losing my current database?▼

Yes. Restore automatically saves your current database as claude-mem-<timestamp>-pre-restore.db in the same backup folder, letting you undo a restore by restoring that file.

What does 'Worker is not running' mean during backup status?▼

The claude-mem worker process is not active. Start it with 'npx claude-mem start' before backup operations can proceed.

Why doesn't backup work after I update claude-mem?▼

If the installed CLI or worker lacks backup support, 'npx claude-mem backup status' returns 'Unknown command'. Update with 'npx claude-mem update' once a release includes backup features.

How often should I retain backups to recover from data loss?▼

Default retention is 7 daily snapshots (1 week). For critical use, increase to 30 snapshots with 24-hour intervals to cover a month of recovery windows.