postgres-backup

Community

Reliable PostgreSQL backups and restores

Authorpkoka888
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Protects Metabase PostgreSQL data by providing consistent backup and restore procedures, reducing the risk of data loss from container failures, accidental deletions, or configuration mistakes. It standardizes dump formats, verification steps, and offsite storage so teams can recover quickly and confidently.

Core Features & Use Cases

  • Full database dumps: Create consistent, compressed dumps of the entire metabase database using pg_dump inside the metabase-db container.
  • Table-specific exports: Export individual tables such as report_dashboard for targeted snapshots or migrations.
  • Restore workflows: Restore dumps to the same or different databases and run non-destructive test restores to validate integrity.
  • Scheduled and offsite backups: Integrate with Borg for versioned, passphrase-protected remote backups and automated retention.
  • Verification and troubleshooting: Verify dump integrity, list dump contents, and provide common checks for connection and permissions issues.

Quick Start

Create a compressed pg_dump of the metabase database inside the metabase-db container, copy it to /var/backups on the host, and verify it can be restored to a test database.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: postgres-backup
Download link: https://github.com/pkoka888/server-infra-templates/archive/main.zip#postgres-backup

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.