Skip to content

Commit 6f10b44

Browse files
committed
Adding updated documentation for pgBackRest IPv6 workaround.
1 parent 4efcba1 commit 6f10b44

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/content/tutorial/backups.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,19 @@ The full list of [pgBackRest configuration options](https://pgbackrest.org/confi
379379

380380
[https://pgbackrest.org/configuration.html](https://pgbackrest.org/configuration.html)
381381

382+
## IPv6 Support
383+
384+
If you are running your cluster in an IPv6-only environment, you will need to add an annotation to your PostgresCluster so that PGO knows to set pgBackRest's `tls-server-address` to an IPv6 address. Otherwise, `tls-server-address` will be set to `0.0.0.0`, making pgBackRest inaccessible, and backups will not run. The annotation should be added as shown below:
385+
386+
```yaml
387+
apiVersion: postgres-operator.crunchydata.com/v1beta1
388+
kind: PostgresCluster
389+
metadata:
390+
name: hippo
391+
annotations:
392+
postgres-operator.crunchydata.com/pgbackrest-ip-version: IPv6
393+
```
394+
382395
## Next Steps
383396

384397
We've now seen how to use PGO to get our backups and archives set up and safely stored. Now let's take a look at [backup management]({{< relref "./backup-management.md" >}}) and how we can do things such as set backup frequency, set retention policies, and even take one-off backups!

0 commit comments

Comments
 (0)