From 4feec081a889cb9873b50fbbfbbdfbbac2fbea8e Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 18 Sep 2025 16:13:24 -0700 Subject: [PATCH] Clarify "container:" documentation about borgmatic running inside a container (#1116). --- docs/how-to/backup-your-databases.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/how-to/backup-your-databases.md b/docs/how-to/backup-your-databases.md index 807a54ac..1256a05b 100644 --- a/docs/how-to/backup-your-databases.md +++ b/docs/how-to/backup-your-databases.md @@ -228,9 +228,10 @@ postgresql_databases: password: trustsome1 ``` -borgmatic uses the `docker`/`podman` CLI to figure out the container IP to -connect to. But `container:` does not work when borgmatic itself is running in a -container; in that case, use `hostname:` as described above. +borgmatic uses the `docker` or `podman` command to figure out the container IP +to connect to. But `container:` doesn't work when borgmatic itself is running in +a container—unless the `docker` or `podman` command works inside that container. +But you can always use `hostname:` as described above. Prior to version 2.0.8 If you're running an older version of borgmatic on the host, you can publish your database