theshire/kubernetes/apps/database/crunchy-postgres-operator
2024-08-21 21:32:01 +00:00
..
cluster add kasm db 2024-08-19 23:14:35 -05:00
clustersecretstore Stand up crunchy-postgres-chonk server 2024-04-09 05:17:44 -05:00
operator Update pgo Docker tag to v5.6.1 2024-08-21 21:32:01 +00:00
userinit-controller Merge pull request 'Update dependency HelmRelease to helm.toolkit.fluxcd.io/v2' (#279) from renovate/helmrelease-2.x into main 2024-05-30 13:41:29 -05:00
ks.yaml Stand up crunchy-postgres-chonk server 2024-04-09 05:17:44 -05:00
README.md pgo client notes for manual restores and backups. 2024-04-09 12:06:05 -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