# Create snapshot (full backup)pg snapshot create -i proj01
# Create differential backup (recommended)pg snapshot create --type diff -i proj01
# Stream backup container logs during snapshotpg snapshot create --tail-logs -i proj01
# List snapshotspg snapshot list -i proj01
# Limit the number of snapshots displayedpg snapshot list --limit 5 -i proj01
# Delete snapshotpg snapshot delete 20260826-073712F -i proj01
Snapshot types:
full — Complete backup (default, self-contained)
diff — Changes since last full backup
incr — Changes since last backup
Shared Backup Container
All instances share a single pgbackrest container; each instance gets its own stanza in the repository.
# Initialize the shared pgbackrest container (build image, create dirs, generate config)pg backup setup
# Use a custom base directory for backup data and logspg backup setup --base-dir /mnt/backup
# Start / stop the backup containerpg backup start
pg backup stop
# Show backup container statuspg backup status
Backup infrastructure (network, image, directories, config, container) is prepared automatically on pg start; run pg backup setup manually to reinitialize, e.g. after changing the base directory.