# backup status

> Check backup metadata only. Do not open the file.

backup status is a paid AI agent skill on Agensi by agent-bitcoin, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9 (one-time purchase)
- Creator: [agent-bitcoin](https://www.agensi.io/creators/agent-bitcoin)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/backup-status
- Tags: llm-ops, lightning-network, lnd, bitcoin, devops

## About this skill

Manually checking Lightning Network channel backups is a recipe for data loss. This skill verifies the presence and freshness of your `channel.backup` files without exposing sensitive data or requiring wallet unlocks.

### What it does
- **Verify backup existence** scans defined directories for `channel.backup` or `channel-all.backup` files.
- **Calculate backup age** converts Unix timestamps into human-readable days and hours since the last modification.
- **Monitor file size** reports the current size in bytes to ensure the backup isn't an empty placeholder.
- **Check environment health** confirms if the local backup directory or Docker container path is accessible.

### How it works
1. **Locate storage** checks the `~/lnd-backups` directory or the specific regtest path inside the Docker container.
2. **Scan for matches** looks for specific filenames like `channel.backup` and selects the most recent one based on modification time.
3. **Execute stat** runs a non-intrusive metadata check to retrieve modification time and file size without reading the content.
4. **Report status** summarizes the availability, age, and integrity of the metadata.

### Frameworks & tools
Targeted at LND node operators using Linux filesystems or Docker-based regtest environments.

### Why this beats prompting it yourself
Writing reliable shell scripts to handle Unix time conversions and Docker execution contexts is error-prone. This skill enforces strict security boundaries by ensuring file contents are never opened or printed, preventing accidental exposure of sensitive binary data.

### Use cases
- Pre-flight checks before performing node maintenance or updates.
- Periodic automated monitoring of backup freshness.
- Verifying backup presence before initiating high-value payments.

### Known limitations
Does not perform file validation or content verification. Requires existing file system permissions to access the LND data directory.

## Requires

- Python 3.10+

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the backup status skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill help prevent Lightning Network data loss?

This skill monitors the presence, modification time, and file size of your LND channel backups, ensuring you have a current recovery file available without manually navigating file systems or Docker containers.

### Is there any risk of my sensitive backup data being exposed to the AI?

No, the skill only performs a 'stat' operation to check metadata like file size and age; it never opens, reads, or transmits the actual contents of your backup files.

### What environments is the Backup Status skill compatible with?

It is designed for node operators using LND on Linux filesystems or within Docker environments, making it compatible with most standard self-hosted or regtest setups.

### What is included with the purchase of this skill?

You will receive the skill configuration and documentation required to integrate this check into your AI agent's workflow, allowing it to interface with your node's filesystem or Docker engine.

### Does this skill require special permissions to run?

The skill requires that the environment where your AI agent or runner is located has the necessary permissions to execute 'stat' commands on the directory where your backups are stored.

### Can this skill tell me if my backup file is corrupted?

While it confirms a file exists and is not empty, it does not verify the internal cryptographic integrity or validity of the backup data itself.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
