theshire/kubernetes/apps/database/crunchy-postgres-operator/README.md

694 B

Helpful PGO Commands

Grab the cli from Github: GitHub Docs

Point In Time Restore

pgo show postgres -n database for backup information

Whole cluster

pgo restore postgres -n database \
    --options "--type=time --target='2024-04-09 11:00:03+00'" \
    --repoName repo1

Individual databases

pgo restore postgres -n database \
    --options "--type=time --target='2024-04-09 11:00:03+00' --db-include=postgres" \
    --repoName repo1

Manual full backup

pgo backup postgres -n database --repoName repo1