dotfiles/backup/run_backup.sh
2020-06-03 16:51:40 +03:00

12 lines
275 B
Bash
Executable File

#!/bin/sh
docker build -t backup . --network=host
docker run \
--env-file=./backup.env \
-v /tmp/test/:/mnt/backup/ \
-v /tmp/test/restic-exclude.txt:/mnt/restic-exclude \
-v /tmp/test/rclone.conf:/mnt/rclone.conf \
-v /tmp/logs/:/mnt/logs/ \
--network=host \
backup