From df78ef464f29cd4ec39110f95598941583351fda Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 1 May 2022 06:21:03 +0300 Subject: [PATCH] fixup! Backups. --- crond/.dockerignore | 2 ++ crond/Dockerfile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/crond/.dockerignore b/crond/.dockerignore index 780ece0..23ccdbc 100644 --- a/crond/.dockerignore +++ b/crond/.dockerignore @@ -1,2 +1,4 @@ * +!backup !crontab +!restore diff --git a/crond/Dockerfile b/crond/Dockerfile index 49ddeba..d5bc8e2 100644 --- a/crond/Dockerfile +++ b/crond/Dockerfile @@ -8,4 +8,6 @@ RUN apk add --update --no-cache \ findutils \ zstd \ ; +COPY --chown=root:root backup /usr/local/bin/ +COPY --chown=root:root restore /usr/local/bin/ VOLUME /var/backups -- GitLab