mirror of
https://github.com/offen/docker-volume-backup.git
synced 2024-11-10 17:05:31 +08:00
add docs on manually triggering backup
This commit is contained in:
parent
c01555f052
commit
a3d7af2b42
1 changed files with 8 additions and 0 deletions
|
@ -110,6 +110,14 @@ volumes:
|
|||
|
||||
By default, Docker Swarm will restart stopped containers automatically, even when manually stopped. If you plan to have your containers / services stopped during backup, this means you need to apply the `on-failure` restart policy to your service's definitions. A restart policy of `always` is not compatible with this tool.
|
||||
|
||||
## Manually triggering a backup
|
||||
|
||||
You can manually trigger a backup run outside of the defined cron schedule by executing the `backup` command inside the container:
|
||||
|
||||
```
|
||||
docker exec <container_ref> backup
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Differences to `futurice/docker-volume-backup`
|
||||
|
|
Loading…
Reference in a new issue