Back to list
pluginagentmarketplace

postgresql-backup

by pluginagentmarketplace

PostgreSQL developer roadmap plugin with database patterns and query optimization

1🍴 0📅 Jan 5, 2026

SKILL.md


name: postgresql-backup description: PostgreSQL backup and recovery - pg_dump, pg_basebackup, PITR version: "3.0.0" sasmp_version: "1.3.0" bonded_agent: 08-postgresql-devops bond_type: PRIMARY_BOND category: database difficulty: intermediate estimated_time: 3h

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

TypeUse CaseRecovery Speed
pg_dumpLogical, portableSlow
pg_basebackupFull clusterFast
WAL + basePoint-in-timeFast + precise

Troubleshooting

ProblemCauseSolution
Backup failedDisk fullFree space
Restore slowLarge DBUse parallel
WAL missingArchive failedCheck archive_command

Usage

Skill("postgresql-backup")

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon