/homelab-ops:workstation-offbox-backupfrom homelab-ops
Keep a data-heavy app's local database small while preserving full history off-box, readable without restore. Splits by shape — text to log/search, media to snapshotted storage — pulls data, never a push script. Use when db/disk footprint grows.
Ships in homelab-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A workstation app that continuously records data (activity trackers, recorders, local-first tools with a growing SQLite file) tends to grow an ever-larger local database plus a pile of bulk media. Left alone it bloats the machine and slows the app's own queries. The goal: keep the local store small and fast, never lose history, and keep old data directly accessible without a restore round-trip.
The trick is to split by what the data is for, and lean on infrastructure you already run rather than writing a custom uploader.
| Data | Destination | Why |
|---|---|---|
| Searchable text (anything you'd query) | A log/search platform you already run | Indexed and retained centrally — far more searchable than a local file, and it doubles as the backup |
| Bulk media (large binary files) | Durable, snapshotted storage | Heavy, not searchable — just needs point-in-time copies |
Once a row's text is indexed centrally and its media is on durable storage, the local row is disposable — that's what makes aggressive local pruning safe.
Most apps have no native log-forwarding sink. Rather than script an exporter, pull with a collector you already run against the app's local API or database on a schedule. Use a short collection window with a small overlap, and de-duplicate on the row's monotonic id — if rows are immutable, overlap plus dedup means no gaps and no duplicates, with no cursor state to maintain by hand.
If the app exposes only a local database file and no API, a filesystem/database-native collector is the equivalent pull — still declarative collector config, not a maintained script.
Push media off-box with the app's own native sync if it has one (e.g. SFTP
to an existing host), otherwise a scheduled rsync. Land it on storage
that's already snapshotted and replicated — you inherit point-in-time
history and off-node durability for free instead of building your own. Run
the sync on a timer that fires on wake, so a machine that sleeps overnight
simply catches up the next time it's awake.
With history safely off-box, set the app's retention window low and confirm it prunes database rows, not just media files on disk — many apps default to pruning only the media while keeping the (often much larger) text/index rows forever, which defeats the whole point.
Turn on local pruning last. Both off-box paths — text to the search platform, media to durable storage — must already be flowing before pruning is safe, or pruning deletes rows/files that were never actually backed up. If the local store was recently reset, there's a grace window equal to the retention period before pruning actually removes anything.
This is the point of landing plain files on durable storage rather than an opaque backup blob:
No backup-restore cycle anywhere — everything is a normal file you can open.
If a large historical archive already sits on the workstation, move it once and reclaim the space. Split it the same way: the database file to the read-only-exported location (directly queryable), the media to durable storage (on-demand access). Verify integrity (a database integrity check, size match on the media) before deleting the local copy. If the archived database's id space overlaps the live one, keep it as a standalone file rather than trying to merge them.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 skills in this plugin
/dell-idrac-bmc-opsBring a Dell PowerEdge BMC (iDRAC) onto the network headlessly, standardize settings, stage firmware, drive an unattended install — Redfish/racadm gotchas, identity-before-power, phantom-drive from stale firmware. Use bringing up/diagnosing a BMC./homelab-runbooksUse when powering on a sleeping DR node, converging DNS records for a new ingress vhost, or bringing up OpenBao/Terrakube JWT identity — homelab operational runbooks for power management, DNS, and secrets-engine bring-up./llm-router-opsOperate a self-hosted OpenAI-compatible LLM router — client-wiring per client, context-window ad gotcha, env-vs-persisted-config gotcha, why an unauth health probe should 401. Use wiring a client, adding a backend, diagnosing misbehavior./monitoring-firstRead system state from monitoring and close telemetry gaps./proxmox-cluster-opsOperate a Proxmox VE cluster safely — monitoring-first state checks, quorum-respecting node updates, and joining a new node. Use for cluster operations, rolling updates, or adding a node./pxe-netbootReliable remote OS install over PXE when virtual-media/KVM is broken — proxyDHCP+TFTP via dnsmasq, kernel/initrd over HTTP, custom iPXE with embedded autoexec. Use when a BMC's virtual CD is unreliable or a headless install needs netboot.npx claudepluginhub jacobpevans-ai/claude-code-plugins --plugin homelab-ops