dotfiles/backup/run_backup.sh

12 lines
275 B
Bash
Raw Normal View History

2020-06-03 16:51:40 +03:00
#!/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