Data Replication Setup
Guide to PostgreSQL primary-standby replication for high availability and disaster recovery, with reference guides for logical replication.
- CCM score
- 35 of 100
- skills.sh installs
- 426
- GitHub stars
- 396
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers master-slave and multi-master setups, read replicas, multi-region replication, failover automation, and cross-region backup strategies
- Includes a PostgreSQL quick start with
postgresql.confWAL settings, a replication role,pg_hba.confaccess rules, and WAL archiving - Provides three reference guides: primary-standby setup, logical replication, and master-slave setup
- Designed for teams configuring database high availability, replication monitoring, and disaster recovery planning
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill data-replication-setup -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Data Replication Setup
Table of Contents
Overview
Configure database replication for disaster recovery, load distribution, and high availability. Covers master-slave, multi-master replication, and monitoring strategies.
When to Use
- High availability setup
- Disaster recovery planning
- Read replica configuration
- Multi-region replication
- Replication monitoring and maintenance
- Failover automation
- Cross-region backup strategies
Quick Start
PostgreSQL - Configure Primary Server:
-- On primary server: postgresql.conf
-- wal_level = replica
-- max_wal_senders = 10
-- wal_keep_size = 1GB
-- Create replication user
CREATE ROLE replication_user WITH REPLICATION ENCRYPTED PASSWORD 'secure_password';
-- Allow replication connections: pg_hba.conf
-- host replication replication_user standby_ip/32 md5
-- Enable WAL archiving for continuous backup
-- archive_mode = on
-- archive_command = 'test ! -f /archive/%f && cp %p /archive/%f'
Reference Guides
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- Databases, DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
What does the data-replication-setup skill help me do?
It configures database replication for high availability and disaster recovery, covering master-slave replication, multi-master setups, read replicas and replication monitoring. The skill includes a PostgreSQL quick start for setting up a primary server with a replication user and WAL archiving.
How do I install the data-replication-setup skill?
Run npx -y skills add aj-geddes/useful-ai-prompts --skill data-replication-setup -y in your project. Once installed, the agent can guide you through replication setup for your database.
Where does data-replication-setup stand in the Databases category on Claude Marketplaces?
It sits in the Databases category alongside supabase-postgres-best-practices and several Prisma skills such as prisma-client-api and prisma-database-setup. It focuses on replication topology, failover and cross-region backup rather than schema or query work.
When should I use data-replication-setup for failover and disaster recovery?
Use it when you plan high availability, read replica configuration, multi-region replication, failover automation or cross-region backup strategies. It also covers ongoing replication monitoring and maintenance.
More from aj-geddes/useful-ai-prompts
All 258- Polyglot Integration426
- Azure Functions425
- Graphql Implementation425
- Multi Cloud Strategy420
- Distributed Tracing419
- Nodejs Express Server3.3K
- Code Review Analysis2.4K
- Jenkins Pipeline2.2K
- Rest Api Design2.1K
- Architecture Diagrams2K
- Ansible Automation1.9K
- Ios Swift Development1.5K
- Nginx Configuration1.5K
- Android Kotlin Development1.5K
- Flask Api Development1.4K
- Wireframe Prototyping1.4K
- Markdown Documentation1.3K
- Terraform Infrastructure1.2K
- Responsive Web Design1.1K
- Penetration Testing1.1K
- Css Architecture973
- Root Cause Analysis945
- Api Contract Testing935
- Event Sourcing893
Similar to Data Replication Setup
More Databasesbackup-disaster-recoveryaj-geddes/useful-ai-prompts630 installsBackup and disaster recovery guidance covering strategies, recovery plans, and restoration procedures for critical infrastructure.
aws-rds-databaseaj-geddes/useful-ai-prompts455 installsHands-on RDS setup guide covering Multi-AZ, read replicas, backups, and encryption for relational databases.
postgresplanetscale/database-skills8.8K installsPostgreSQL best-practices guide with PlanetScale-specific references for schema, query, and connection work.
postgres-best-practicesneondatabase/postgres-skills2.2K installsComprehensive Postgres guidance covering schema design, indexing, query tuning, and replication for PostgreSQL 14 through 18.
postgresql-database-engineeringmanutej/luxor-claude-marketplace1.8K installsComprehensive PostgreSQL engineering reference covering indexing, tuning, partitioning, replication, and production operations.
supabase-postgres-best-practicessupabase/agent-skills496.8K installsPostgres best-practices guide covering query performance, connections, RLS, schema, locking, and advanced features.