From 5d9a22501476b3384451b98eeb6b1dee65fed21d Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 2 May 2021 18:42:01 +0200 Subject: Reworked and improved borg role --- templates/backup.sh.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates') diff --git a/templates/backup.sh.j2 b/templates/backup.sh.j2 index b1abb79..3937dfc 100644 --- a/templates/backup.sh.j2 +++ b/templates/backup.sh.j2 @@ -4,6 +4,8 @@ # ~~~~ ~~~~ # ############################################################################### +set -eu + export HOME=/root export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin export BORG_RSH="ssh -i /root/.ssh/borg" -- cgit v1.2.3