[CLOUD] First work of restore backup

This commit is contained in:
Florian RICHER 2023-05-21 18:31:35 +02:00
parent efa7c2e42d
commit 7dd38fd226
6 changed files with 55 additions and 41 deletions

View file

@ -4,4 +4,8 @@ RUN apk add --update --no-cache tar
RUN mkdir -p /backup/dest
CMD ["tar", "-xf", "/backup/archive.tar.gz", "--strip-components=1", "-C", "/backup/dest"]
COPY ./extract.sh /usr/bin/extract
RUN chmod +x /usr/bin/extract
CMD ["restore"]