More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    Add Database Backups Automatically

    1

    Automatically add safe database backups to existing projects.

    $2.99

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    Security scanned
    Add Database Backups Automatically

    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.

    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 use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    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 1 month ago

    • Passed all security checks, Safe to install

    Listed1 month ago

    What's inside

    Frequently Asked Questions