[CLOUD] First work of restore backup
This commit is contained in:
parent
efa7c2e42d
commit
7dd38fd226
6 changed files with 55 additions and 41 deletions
|
@ -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"]
|
Loading…
Add table
Add a link
Reference in a new issue