backup-ledger

Back up and version-control ledger and curiosity metrics databases.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/Heretek-AI/heretek-skills --skill backup-ledger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backup-ledger
Source: https://github.com/Heretek-AI/heretek-skills/tree/main/skills/backup-ledger
Command: npx skills add https://github.com/Heretek-AI/heretek-skills --skill backup-ledger

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides versioned backups of the consensus ledger and curiosity metrics databases to preserve deliberation history, enable recovery, and support auditing.

Core Features & Use Cases

  • Automated Daily Backups: Regularly backs up the ledger DB and curiosity metrics to a versioned archive.
  • Manual Restore & Recovery: Restore from the latest backup to recover from failures or data corruption.
  • Storage Management: Prunes old backups to keep storage usage under control.

Quick Start

Run the backup-ledger.sh --daily to enable automated nightly backups.

Frequently Asked Questions about backup-ledger

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

FAQPage Schema
How do I automate ledger and metrics backups for version control and recovery?

You can automate ledger and metrics backups by running the backup-ledger.sh --daily command, which schedules nightly versioned archives of your consensus store and curiosity database to prevent data loss and ensure recoverability.

What is the best way to restore a corrupted consensus ledger from a previous backup?

To restore a corrupted consensus ledger, use the manual restore and recovery feature to roll back to the latest versioned backup archive, recovering your deliberation history and metrics database without losing audit trails.

Does backup-ledger work with my existing Aura consensus store and curiosity database?

Yes, backup-ledger operates directly within your configured workspace path, targeting the Aura consensus store and curiosity database to capture and version your deliberation history and metrics data.

How do I manage storage consumption when running daily versioned backups of ledger databases?

You can control storage consumption using the built-in storage management feature, which automatically prunes old versioned backups to keep your archive footprint manageable while retaining recent recovery points.

When do I need versioned backups for governance reviews and incident response?

Versioned backups are essential for governance reviews and incident response when you need to audit deliberation history, verify consensus states, or quickly restore ledger and curiosity metrics following data loss or corruption.