Skip to content

Commit

Permalink
docs: add more info for openGauss deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
mlycore authored Sep 18, 2023
1 parent bebbb86 commit 683c5f4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pitr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ This is a cli tool for point-in-time recovery of Apache ShardingSphere and OpenG
- External access to OpenGauss Server via port 18080
- OpenGauss has user `omm` and database `omm` which can be accessed
- OpenGauss enables `cbm tracking`
- Set below environment variables on OpenGauss Servers
- export PGDATABASE=13100
- export PGPORT=tpccdb
- SSL key pairs for Pitr cli-agent secure communication

#### Compilation (optional)
Expand Down Expand Up @@ -141,13 +144,14 @@ dataSources:
minPoolSize: 1
```
### Step 2: Get OpenGauss Configurations
### Step 2: Set OpenGauss Configurations
Enable `cbm tracking` in postgres.conf
a. Enable `cbm tracking` in postgres.conf

```shell
enable_cbm_tracking = on
```
b. Execute `gs_probackup init -B ${backup-path}` to set the expected backup path.

### Step 3: Get Pitr tools

Expand Down

0 comments on commit 683c5f4

Please sign in to comment.