npx skills add smithery/pluginagentmarketplace --skill postgresql-backup
pluginagentmarketplace/custom-plugin-postgresql · Archived
postgresql-backup
PostgreSQL backup and recovery - pg_dump, pg_basebackup, PITR
Installation
npx skills add pluginagentmarketplace/custom-plugin-postgresql --skill postgresql-backup
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Write PL/pgSQL - functions, procedures, triggers, error handling
8 installsMaster advanced PostgreSQL queries - CTEs, window functions, recursive queries
8 installsMaster PostgreSQL SQL fundamentals - data types, tables, constraints, schema design
6 installsPostgreSQL monitoring - metrics, alerting, observability
3 installsSimilar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill …
391.6K installsPrisma ORM CLI commands reference covering init, generate, migrate, db, dev, complete, studio, …
267K installsUse when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge F…
263K installs>- Guides and best practices for working with Lakebase Postgres, the database behind Neon. Cove…
146.5K installsPostgreSQL-specific development assistant focusing on unique PostgreSQL features, advanced data…
15.3K installsAlso in this package
Other skills from pluginagentmarketplace/custom-plugin-postgresql · top by installs.
npx skills add pluginagentmarketplace/custom-plugin-postgresql
Browse all from pluginagentmarketplace/custom-plugin-postgresql
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Skill metadata
Parsed from SKILL.md frontmatter.
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md1,738 B -
docs
SUMMARY.md86 B
History
- First seen on skills.sh
- First recorded snapshot · 3 installs
SKILL.md
PostgreSQL Backup Skill
Atomic skill for backup and recovery
Overview
Production-ready patterns for logical backups, physical backups, and point-in-time recovery.
Prerequisites
- PostgreSQL 16+
- Sufficient disk space
- Backup storage access
Parameters
parameters:
backup_type:
type: string
required: true
enum: [logical, physical, pitr]
format:
type: string
enum: [custom, directory, plain]
default: custom
Quick Reference
pg_dump (Logical)
# Custom format (recommended)
pg_dump -Fc -f backup.dump dbname
# Parallel backup
pg_dump -Fd -j 4 -f backup_dir dbname
# Compressed
pg_dump -Fc dbname | gzip > backup.dump.gz
pg_basebackup (Physical)
pg_basebackup -D /backup -Fp -Xs -P -R
pg_restore
pg_restore -d newdb -j 4 backup.dump
pg_restore --list backup.dump # Preview
WAL Archiving
archive_mode = on
archive_command = 'cp %p /archive/%f'
Backup Strategy
| Type | Use Case | Recovery Speed |
|---|---|---|
| pg_dump | Logical, portable | Slow |
| pg_basebackup | Full cluster | Fast |
| WAL + base | Point-in-time | Fast + precise |
Troubleshooting
| Problem | Cause | Solution |
|---|---|---|
| Backup failed | Disk full | Free space |
| Restore slow | Large DB | Use parallel |
| WAL missing | Archive failed | Check archive_command |
Usage
Skill("postgresql-backup")