This commit is contained in:
parent
2c821d31db
commit
92a0ea8f77
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@
|
|||||||
!interactive.sh
|
!interactive.sh
|
||||||
!mysql.sh
|
!mysql.sh
|
||||||
!.dockerignore
|
!.dockerignore
|
||||||
|
!restore.sh
|
@ -7,6 +7,7 @@ RUN mkdir /app && mkdir /config
|
|||||||
COPY setup.sh /app/setup.sh
|
COPY setup.sh /app/setup.sh
|
||||||
COPY backup.sh /app/backup.sh
|
COPY backup.sh /app/backup.sh
|
||||||
COPY interactive.sh /app/interactive.sh
|
COPY interactive.sh /app/interactive.sh
|
||||||
|
COPY restore.sh /app/restore.sh
|
||||||
# COPY mysql.sh /app/mysql.sh
|
# COPY mysql.sh /app/mysql.sh
|
||||||
|
|
||||||
WORKDIR /config
|
WORKDIR /config
|
||||||
|
7
restore.sh
Normal file
7
restore.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
. /app/setup.sh
|
||||||
|
|
||||||
|
# find . -maxdepth 1 -type d -printf '%f\n' | tail -n +2
|
||||||
|
|
||||||
|
restic restore latest
|
Loading…
Reference in New Issue
Block a user