Backup Manager logo

Backup Manager

Community
Firstp1ck
backup-manager

Agents should invoke this skill for backup health checks, restore testing, NAS/Gitea backup integrity, 3-2-1 strategy review, backup script audits, or verifying repositories and archives can be restored safely.

Overview

PublisherFirstp1ck
Repositorypi-coding-agent-forge
Skill namebackup-manager
Stars
93
Forks
22
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Firstp1ck on GitHub. Read the source before you install it.

Installation

Install the Backup Manager AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Firstp1ck/pi-coding-agent-forge/tree/main/pi-skill-backup-manager/skills/backup-manager
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Firstp1ck/pi-coding-agent-forge.git /tmp/pi-coding-agent-forge
mkdir -p .claude/skills
cp -r /tmp/pi-coding-agent-forge/pi-skill-backup-manager/skills/backup-manager .claude/skills/backup-manager
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Backup Manager in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Backup Manager on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Backup Manager is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Backup Manager

Verify, test, and manage backups across the infrastructure.

Quick Start

Verify a Git Backup

bash
# Clone to temp directory and check integrity
TEMP_DIR=$(mktemp -d)
git clone --bare <repo-url> "$TEMP_DIR/test-repo" 2>&1
cd "$TEMP_DIR/test-repo"
git fsck --full --no-dangling
echo "Exit code: $?"
rm -rf "$TEMP_DIR"

Check Gitea Backup Status

bash
# List repos on Gitea
curl -s "http://<gitea-host>:3000/api/v1/user/repos" \
  -H "Authorization: token <token>" | jq '.[].name'

# Check last push time
curl -s "http://<gitea-host>:3000/api/v1/repos/<owner>/<repo>" \
  -H "Authorization: token <token>" | jq '.updated_at'

Backup Verification

Git Repository Integrity

bash
# Full integrity check
git fsck --full --no-dangling

# Check for corruption
git fsck --strict

# Verify all objects are reachable
git rev-list --all --objects | wc -l

Expected: Exit code 0, no errors. Any "broken link", "missing", or "corrupt" messages indicate problems.

File Count Verification

bash
# Compare file counts between source and backup
# Source
find /path/to/source -type f | wc -l

# Backup
find /path/to/backup -type f | wc -l

Backup Freshness

A backup is only useful if it's recent enough. Check age:

bash
# Last commit date in a git backup
git log -1 --format="%ci"

# Age of newest file in a directory backup
find /path/to/backup -type f -printf '%T@\n' | sort -n | tail -1 | xargs -I{} date -d @{}

Freshness criteria:

  • < 24h: Fresh
  • 24h–72h: Acceptable (check if auto-backup is running)
  • 72h: Stale (investigate why backups stopped)


Restore Testing

Git Restore Test

Full restore test to verify disaster recovery:

bash
# 1. Create isolated test directory
TEST_DIR=$(mktemp -d)
echo "Testing restore in: $TEST_DIR"

# 2. Clone from backup source
git clone <backup-repo-url> "$TEST_DIR/restored" 2>&1

# 3. Verify integrity
cd "$TEST_DIR/restored"
git fsck --full

# 4. Verify structure (check key files exist)
for f in AGENTS.md APPEND_SYSTEM.md MEMORY.md; do
  if [ -f "$f" ]; then
    echo "OK: $f exists"
  else
    echo "MISSING: $f"
  fi
done

# 5. Count files
echo "Total files: $(find . -type f | wc -l)"

# 6. Cleanup
rm -rf "$TEST_DIR"

NAS Restore Test

bash
# 1. Check NAS accessibility
ssh -p <ssh-port> <nas-user>@<nas-host> "ls <backup-path>/" 2>&1

# 2. Check file integrity (sample random files)
ssh -p <ssh-port> <nas-user>@<nas-host> "find <backup-path> -type f | shuf | head -5 | xargs md5sum"

# 3. Check disk usage
ssh -p <ssh-port> <nas-user>@<nas-host> "df -h /Volume1/"

3-2-1 Backup Strategy

The gold standard: 3 copies of data, on 2 different media types, with 1 offsite.

Current Status Assessment

RequirementStatusDetails
Copy 1: PrimaryLocal machineWorking directory
Copy 2: Local backupGitea/NAS/local backup targetAuto-backup on a defined schedule
Copy 3: OffsiteGitHubMirror (if configured)
2 media typesSSD + NASDifferent physical devices
1 offsiteGitHub/cloudInternet-accessible backup

Recommendations

When evaluating backup strategy, check:

  1. Auto-backup running? — Verify git-autobackup skill is active
  2. Gitea mirror healthy? — Check github-mirror-check skill
  3. NAS sync active? — Verify OneDrive sync to NAS
  4. Recovery time objective (RTO)? — How fast can we restore?
  5. Recovery point objective (RPO)? — How much data can we afford to lose?

Gitea Backup Operations

Verify Auto-Backup

bash
# Check when workspace was last pushed to Gitea
cd /path/to/workspace
git log --remotes=gitea -1 --format="%ci %s"

# Check Gitea repo last update via API
curl -s "http://<gitea-host>:3000/api/v1/repos/<owner>/<repo>" \
  -H "Authorization: token <token>" | jq '.updated_at'

Manual Backup Trigger

bash
# Force push to Gitea
git push gitea --all
git push gitea --tags

Backup Health Report Format

When delivering a backup status report:

  1. Summary — Overall backup health (Healthy / At Risk / Critical)
  2. Freshness — Last backup time for each target
  3. Integrity — Results of git fsck or file verification
  4. 3-2-1 Compliance — Which requirements are met
  5. Recommendations — Any actions needed

Alert Conditions

Alert when:

  • Backup is older than 72 hours (auto-backup may have failed)
  • git fsck reports any errors (corruption detected)
  • Gitea API is unreachable (backup target down)
  • NAS is unreachable (secondary backup target down)
  • 3-2-1 compliance drops below 2 copies

Kai skill — Backup verification and strategy management

Frequently asked questions

What does the Backup Manager AI skill do?

Agents should invoke this skill for backup health checks, restore testing, NAS/Gitea backup integrity, 3-2-1 strategy review, backup script audits, or verifying repositories and archives can be restored safely.

Why use Backup Manager on TypingMind?

Because you install it once and use it with any model. Backup Manager is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Backup Manager in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Firstp1ck/pi-coding-agent-forge/tree/main/pi-skill-backup-manager/skills/backup-manager. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Backup Manager?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Backup Manager?

As many as you like. As long as a model supports skills, you can use Backup Manager with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Backup Manager AI skill free?

Yes. It is published on GitHub by Firstp1ck under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇