Update restic to version 0.13.1 and add option to check data integrity

This commit is contained in:
Niko
2022-08-10 20:06:17 +03:00
committed by Niko
parent 820fabb1e6
commit 7e0b0706c1
4 changed files with 127 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ FROM alpine:latest as rclone
ADD https://downloads.rclone.org/rclone-current-linux-amd64.zip /
RUN unzip rclone-current-linux-amd64.zip && mv rclone-*-linux-amd64/rclone /bin/rclone && chmod +x /bin/rclone
FROM restic/restic:0.12.0
FROM restic/restic:0.13.1
RUN apk add --update --no-cache heirloom-mailx fuse curl
@@ -19,9 +19,11 @@ ENV RESTIC_PASSWORD=""
ENV RESTIC_TAG=""
ENV NFS_TARGET=""
ENV BACKUP_CRON="0 */6 * * *"
ENV CHECK_CRON=""
ENV RESTIC_INIT_ARGS=""
ENV RESTIC_FORGET_ARGS=""
ENV RESTIC_JOB_ARGS=""
ENV RESTIC_DATA_SUBSET=""
ENV MAILX_ARGS=""
ENV OS_AUTH_URL=""
ENV OS_PROJECT_ID=""
@@ -49,6 +51,7 @@ RUN mkdir /.cache && \
VOLUME /data
COPY backup.sh /bin/backup
COPY check.sh /bin/check
COPY entry.sh /entry.sh