nex-pi-backup-restore
by Nex AI
Daily backup-and-restore for a self-hosted Postgres app or Pi: a custom-format pg_dump, app-data tar, config copy, keep-window rotation, and a low-disk Telegram alert, plus a confirm-to-proceed restore, systemd timer, and idempotent install.
- Run pgvector and TimescaleDB side-by-side on a single Raspberry Pi.
- Avoid "peer authentication failed" errors with pre-configured SCRAM auth.
- Maintain a central registry to prevent database port collisions.
$9
· or 45 creditsSecure checkout via Stripe
Included in download
- Run pgvector and TimescaleDB side-by-side on a single Raspberry Pi.
- Avoid "peer authentication failed" errors with pre-configured SCRAM auth.
- terminal, network automation included
- Ready for Cursor
Sample input
Set up a new pgvector instance for my 'knowledge-base' app. I already have a native Postgres on 5432, so I need a free port and a nightly backup script.
Sample output
I've generated a configuration in postgres-multi/. I assigned 'knowledge-base' to port 5433 using the docker-pgvector template.
- Port 5433 added to PORT-REGISTRY.md
- Generated docker-compose.yml with 127.0.0.1:5433 binding
- Added nightly backup entry to backup-all.sh (14-day retention)
nex-pi-backup-restore
by Nex AI
Daily backup-and-restore for a self-hosted Postgres app or Pi: a custom-format pg_dump, app-data tar, config copy, keep-window rotation, and a low-disk Telegram alert, plus a confirm-to-proceed restore, systemd timer, and idempotent install.
$9
· or 45 creditsSecure checkout via Stripe
Included in download
- Run pgvector and TimescaleDB side-by-side on a single Raspberry Pi.
- Avoid "peer authentication failed" errors with pre-configured SCRAM auth.
- terminal, network automation included
- Ready for Cursor
- Instant install
Sample input
Set up a new pgvector instance for my 'knowledge-base' app. I already have a native Postgres on 5432, so I need a free port and a nightly backup script.
Sample output
I've generated a configuration in postgres-multi/. I assigned 'knowledge-base' to port 5433 using the docker-pgvector template.
- Port 5433 added to PORT-REGISTRY.md
- Generated docker-compose.yml with 127.0.0.1:5433 binding
- Added nightly backup entry to backup-all.sh (14-day retention)
About This Skill
The daily backup-and-restore system Nex AI runs in production. backup.sh dumps a Postgres database in custom format, tars the served app data, copies non-secret config, rotates old backups to a keep-window, and checks disk usage with a Telegram alert past a threshold. restore.sh is the deliberate, confirm-to-proceed companion that brings a backup back with a clean pg_restore. A systemd service and timer run it daily, and an idempotent install script wires it all up. Secrets are never backed up, and a commented off-box copy hook makes the backup durable. Field-verified, parameterised, restore added.
Use Cases
- Run pgvector and TimescaleDB side-by-side on a single Raspberry Pi.
- Avoid "peer authentication failed" errors with pre-configured SCRAM auth.
- Maintain a central registry to prevent database port collisions.
- Automate nightly gzipped backups for every Postgres instance on the host.
- Migrate from expensive managed Postgres to self-hosted multi-instance setups.
Known Limitations
- Local backups only unless off-box hook is manually enabled.
- Requires Postgres running in Docker.
- Manual secret management required.
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/nex-pi-backup-restore -o /tmp/nex-pi-backup-restore.zip && unzip -o /tmp/nex-pi-backup-restore.zip -d ~/.claude/skills && rm /tmp/nex-pi-backup-restore.zipFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Early access skill
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
Allowed Hosts
File Scopes
Compatible with SKILL.md-compatible agents including Claude Code, Cursor, and Cline.
Creator
Founder of Nex AI. I build production-grade Claude Skills from systems that actually run: multi-tenant SaaS, Telegram agents, Raspberry Pi infrastructure, 3D multiplayer rooms. Every skill ships battle-tested patterns, not theory. 33+ open source skills published, commercial catalog growing.
Frequently Asked Questions
Learn More About AI Agent Skills
More Premium Skills
Multi-Agent Orchestration Master Library
Transform Claude Code into a coordinated multi-agent system. Battle-tested tmux orchestration patterns, YAML task queues, event-driven communication, and parallel worker management for 8+ agents.
designing-hybrid-context-layers
Architects the right retrieval strategy for every query — teaching your agent when to use RAG, a knowledge graph, or a temporal index instead of defaulting to vector search for everything.
consumer-motivation-analyzer
Go beyond surface-level feedback to uncover the psychological drivers and hidden motivations behind buyer behavior.
ai-automation-qa-pack
Professional QA & UAT documentation generator for AI automation agencies and complex agent deployments.