- Home
- Skills
- Data & Databases
- Add Database Backups Automatically
More screenshots
Works with the AI tools you already use
Add Database Backups Automatically
Automatically add safe database backups to existing projects.
$8.99
Add Database Backups Automatically
Example session with this skill installed
Add nightly PostgreSQL backups to my Express SaaS app.
- Read your context and instructions
- Compiled the add database backups
Project Detected
Node.js Express SaaS application with PostgreSQL and Docker Compose
Backup Setup Added
- PostgreSQL backup script using pg_dump
- Disabled cron example for nightly execution at 02:00
- Timestamped compressed backups stored in the configurable BACKUP_DIR path
Retention and Recovery
- Added a configurable 14-day retention example with dry-run support
- Added a separate PostgreSQL restore verification script
- Restore verification uses an isolated test database
Security Controls
- Database credentials are loaded from DATABASE_URL without being printed
- Backup path validation prevents cleanup outside BACKUP_DIR
- Generated backup files use restricted local permissions
Files Modified
- scripts/backup-postgres.sh
- scripts/verify-postgres-backup.sh
- ops/cron/postgres-backup.cron.example
- docs/database-backups.md
- .env.example
Commands Executed
- bash -n scripts/backup-postgres.sh
- bash -n scripts/verify-postgres-backup.sh
- docker compose config
- bash scripts/backup-postgres.sh --dry-run
Validation Result
Script syntax, Docker configuration, environment checks, and backup dry run completed successfully. No production database was accessed and recovery was not claimed as fully verified.
How to Run
Run bash scripts/backup-postgres.sh after configuring DATABASE_URL and BACKUP_DIR. Use bash scripts/verify-postgres-backup.sh <backup-file> against an isolated local PostgreSQL instance.
Important Notes
Review the backup destination, retention period, time zone, storage permissions, and off-site storage policy before enabling the nightly schedule.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Add Database Backups Automatically is a bounded ToolForge Labs workflow. Automatically add safe database backups to existing projects. This skill detects your database, creates backup and restore scripts, adds retention rules, protects credentials, and validates recovery using controlled local checks. ✔ PostgreSQL, MySQL, and SQLite ✔ Scheduled backup scripts ✔ Retention and cleanup rules ✔ Restore verification ✔ Secure environment configuration Perfect for SaaS apps, APIs, stores, dashboards, and production services. The skill works from supplied repository files or partial evidence, separates verified facts from assumptions, avoids invented execution claims, and provides concrete next steps plus deterministic validation where possible.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 20 days ago
- Passed all security checks, Safe to install