From 41b907a1b191ed08d4e6fac0e63e314c1b3245be Mon Sep 17 00:00:00 2001 From: Filip Pytloun Date: Thu, 12 Oct 2023 08:37:59 +0200 Subject: [PATCH] Update to restic 0.16.0 --- Dockerfile | 2 +- backup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 919d1f6..79484e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.19-alpine AS builder -ARG RESTIC_VERSION=0.15.1 +ARG RESTIC_VERSION=0.16.0 RUN apk add --no-cache git RUN git clone --depth 1 --branch v${RESTIC_VERSION} https://github.com/restic/restic.git /go/src/github.com/restic/restic diff --git a/backup.sh b/backup.sh index c3dd4f7..79181b3 100755 --- a/backup.sh +++ b/backup.sh @@ -21,7 +21,7 @@ ts_start=$(date +%s) log_info "Initializing restic" ts=$(date +%s) -restic cat config >/dev/null || { +restic cat config --no-lock >/dev/null || { log_warn "Repository ${RESTIC_REPOSITORY} does not exist, creating"; restic init; }