12 lines
275 B
Bash
Executable File
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
|