mirror of
https://github.com/offen/docker-volume-backup.git
synced 2024-11-10 00:30:29 +01:00
558 B
558 B
title | layout | parent | nav_order |
---|---|---|---|
Trigger a backup manually | default | How Tos | 8 |
Trigger a backup manually
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
If the container is configured to run multiple schedules, you can source the respective conf file before invoking the command:
docker exec <container_ref> /bin/sh -c 'set -a; source /etc/dockervolumebackup/conf.d/myconf.env; set +a && backup'