theshire/kubernetes/apps/database/crunchy-postgres-operator
2024-12-21 16:08:05 -06:00
..
cluster add ptero db 2024-11-29 13:32:52 -06:00
clustersecretstore adding database workloads 2024-09-05 01:33:23 -05:00
operator Update image pgo to v5.7.2 2024-12-20 16:05:32 +00:00
userinit-controller update hr schema from v2beta2 --> v2 2024-12-21 16:08:05 -06:00
ks.yaml adding database workloads 2024-09-05 01:33:23 -05:00
README.md adding database workloads 2024-09-05 01:33:23 -05:00

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