Add delete /tmp directory after backup or restore and update docs

This commit is contained in:
2024-08-11 09:38:31 +02:00
parent 27b9ab5f36
commit a3fc58af96
8 changed files with 59 additions and 10 deletions

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/mysql-bkup backup -d database_name
```
### Simple backup in docker compose file