GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • pgcli
  • Documentation
  • Platform Support
  • Quick Start
  • Ansible Deployment
  • Namespace Isolation
  • Backup
  • Instance with S3
  • Restore
  • Replica (read-only standby)
  • HA Cluster
  • Failover: Replica Promotion
  • Self-Cert
  • Extensions

This view

  • Original page
  • New address

GeezerVison is showing pgcli.pages.dev — Documentation

  • View markdown
  • View edit history
  • Edit this page
  • Create child page
  • Create docs issue
  • Print entire section

Documentation

Learn how to use pgcli to manage PostgreSQL databases.

Complete guide to managing PostgreSQL databases with pgcli.

PostgreSQL 18 — production ready.

  • Quick Start — Install and basic usage
  • Backup — Snapshots and pgBackRest management
  • Restore — Point-in-time recovery (PITR)
  • Replication — Read-only replicas and failover
  • Extensions — Install and manage PostgreSQL extensions
  • Addons — PgBouncer connection pooler and other addons
  • KV Cache — Lightweight Redis alternative for key-value caching
  • Auto-start on Boot — Start instances and services automatically after reboot
  • Toolbox — Standalone utilities, including ZFS storage management
Platform Support

Which pgcli components and features work on Linux vs macOS

Quick Start

Install pgcli and create your first PostgreSQL instance.

Ansible Deployment

Manage pgcli resources declaratively with the bundled Ansible playbooks — instances, replicas, add-ons, Patroni HA clusters, and S3 stores

Namespace Isolation

Create isolated environments on a single host using namespaces

Backup

Backup guide for pgcli

Instance with S3

Back up regular pgcli instances straight to the shared S3 repository — pg create –backup-target s3, no dual-write, promote-time selection

Restore

Point-in-Time Recovery (PITR) guide for pgcli

Replica (read-only standby)

Replica (read-only standby) guide for pgcli

HA Cluster

Patroni high-availability clusters with pgcli — pg ha commands, dynamic configuration, REST API, extensions, cluster backup and restore, direct SQL

Failover: Replica Promotion

Failover: Replica Promotion guide for pgcli

Self-Cert

Mint your own self-signed TLS certificates with pg cert and serve them from the store addons

Auto-start on Boot

Configure pgcli to automatically start PostgreSQL instances and services after a host reboot

Extensions

PostgreSQL Extensions guide for pgcli

Addons

pgcli addon management guide

Clone

Clone guide for pgcli

Data Import/Export

Data Import/Export guide for pgcli

Health Inspection

PostgreSQL health inspection report guide for pgcli

Configuration Tuning

Hardware-aware postgresql.conf tuning for pgcli instances and Patroni clusters

KV Cache

PostgreSQL KV cache functions for lightweight Redis replacement

Toolbox

Standalone tools that extend pgcli beyond PostgreSQL management

SQL Commands

SQL commands guide for pgcli

Destroy

Destroy an instance and remove its configuration

Logs

View PostgreSQL and addon console output logs

Administration

Administration guide for pgcli

Last modified 2026-11-12 · docs(nftables): make the playbook header generic (ef5c528)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.