Update readme

This commit is contained in:
2024-08-11 09:41:31 +02:00
parent 6ae35943fb
commit da8225b8ff

View File

@@ -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