mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-12-27 16:31:58 +01:00
7 lines
206 B
Text
7 lines
206 B
Text
|
#!/bin/bash
|
||
|
set -euo pipefail
|
||
|
killall restic || true
|
||
|
source /mnt/data/bin/resticenv
|
||
|
/usr/bin/restic unlock
|
||
|
/usr/bin/restic backup --exclude-file /mnt/data/bin/restic-excludes /mnt/data/ /var/spool/cron/ $@
|