From da8225b8ffdb4dc7d89e058c3a2a691a061b5895 Mon Sep 17 00:00:00 2001 From: Jonas Kaninda Date: Sun, 11 Aug 2024 09:41:31 +0200 Subject: [PATCH] Update readme --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index f3448b5..aa1f2f6 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,12 @@ To run a one time backup, bind your local volume to `/backup` in the container a Alternatively, pass a `--env-file` in order to use a full config as described below. +```yaml + docker run --rm --network your_network_name \ + --env-file your-env-file + -v $PWD/backup:/backup/ \ + jkaninda/pg-bkup backup -d database_name +``` ### Simple backup in docker compose file