diff --git a/backup.sh b/backup.sh index 90a40f5..f714ad2 100755 --- a/backup.sh +++ b/backup.sh @@ -17,8 +17,6 @@ RETENTION_WEEKS=4 RETENTION_MONTHS=3 RETENTION_YEARS=1 -source /etc/restic/env - # Paths to binaries CURL="/usr/bin/curl" FIND="/usr/bin/find" @@ -27,6 +25,8 @@ ECHO="/usr/bin/echo" HOST=$(hostname -s) +source /etc/restic/env + # define functions timestamp () { date "+%Y-%m-%d %H:%M:%S"