Skip to content

Commit

Permalink
chore: fix typos in example
Browse files Browse the repository at this point in the history
  • Loading branch information
shanshanying committed Nov 8, 2024
1 parent 5d3b61e commit a0ab50f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions examples/postgresql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,15 +350,15 @@ NAME STATUS STORAGEPROVIDER ACCESSMETHOD DEFAULT AGE
kb-oss Ready oss Tool true Xd
```

### [Backup]
### Backup

KubeBlocks supports multiple backup methods for postgresql cluster, such as `pg-basebackup`, `volume-snapshot`, `wal-g`, etc.

You may find the supported backup methods in the `BackupPolicy` of the cluster, e.g. `pg-cluster-postgresql-backup-policy` in this case, and find how these methods will be scheduled in the `BackupSchedule` of the cluster, e.g.. `pg-cluster-postgresql-backup-schedule` in this case.

We will elaborate on the `pg-basebackup` and `wal-g` backup methods in the following sections to demonstrate how to create base backup and incremental backup for the cluster.

#### [pg_basebackup]
#### pg_basebackup

##### Base Backup(backup-pg-basebasekup.yaml)

Expand Down Expand Up @@ -427,7 +427,7 @@ It will run continuously until you disable the method `archive-wal` in the `Back
kubectl get backup -l app.kubernetes.io/instance=pg-cluster -l dataprotection.kubeblocks.io/backup-type=Continuous -oyaml | yq '.items[].status.timeRange'
```

#### [wal-g]
#### wal-g

WAL-G is an archival restoration tool for PostgreSQL, MySQL/MariaDB, and MS SQL Server (beta for MongoDB and Redis).[^2]

Expand Down Expand Up @@ -519,7 +519,8 @@ You are suggested to check the compatibility of versions before upgrading, using
kubectl get cmpv postgresql -ojson | jq '.spec.compatibilityRules'
```
<details>
The expected output is like:
Expected output:

```json
[
{
Expand Down Expand Up @@ -559,7 +560,5 @@ kubectl patch cluster pg-cluster -p '{"spec":{"terminationPolicy":"WipeOut"}}' -
kubectl delete cluster pg-cluster
```

## References

[^1]: pg_basebackup, https://www.postgresql.org/docs/current/app-pgbasebackup.html
[^2]: wal-g https://github.com/wal-g/wal-g

0 comments on commit a0ab50f

Please sign in to comment.