What problem does it solve? Database migrations and restores often fail silently or overwrite existing data because dumps are unverified, extension-owned tables are mistaken for application data, and restores run without error-stop protection. This Skill provides a disciplined workflow for exporting, validating, and restoring PostgreSQL-compatible databases without data loss. ## Core Features & Use Cases - Safe dump creation: Choose between plain SQL and custom pg_dump formats, write to timestamped .partial files, and verify dump completeness markers before use. - Restore target guarding: Distinguish application-owned tables from extension-owned tables using pg_depend metadata, and abort restores into non-empty targets unless explicitly approved. - ParadeDB handling: Pre-create extensions like pg_search and vector, and avoid extension-schema collisions by excluding paradedb, pgivm, tiger, and topology schemas at dump time. - Post-restore verification: Require zero invalid indexes, zero unvalidated constraints, and exact representative row counts before declaring success. - Use Case: Migrating a Docker-hosted ParadeDB database to a new server—dump with excluded extension schemas, create extensions on the target, restore with ON_ERROR_STOP=1, and validate row counts and index integrity. ## Quick Start Use the postgresql-backup-restore skill to dump my ParadeDB database running in Docker on port 5434 and restore it into a fresh target database with full verification.