DB Backup Postgres Sqlite

Implements a production database backup system for Next.js projects using PostgreSQL (production) and SQLite (development). Exports all tables to JSON files, validates record counts, rotates old backups, and optionally uploads to Dropbox. Includes a restore script that syncs production data to local SQLite for development. Use when setting up database backups, adding a backup script, implementing backup/restore workflow, or protecting production data before migrations. Based on a proven production pattern from ales-kalina.cz projects.

intrpom Updated

File contents

intrpom/cursor-skills/tree/main/db-backup-postgres-sqlite commit 0febce4800

Frequently asked questions

npx skillmds@latest add intrpom/db-backup-postgres-sqlite