choos specific restore target

This commit is contained in:
2023-09-07 13:10:10 +02:00
parent 203719c224
commit 5fa8f821c1
3 changed files with 13 additions and 8 deletions

View File

@ -2,14 +2,14 @@
set -eu
apk add --upgrade --no-cache bash curl jq restic python3 py3-pip
apk add --upgrade --no-cache bash restic python3 py3-pip
# Todo use requirements file
# Todo use requirements file with specific versions
pip install click docker resticpy
cron_schedule="${CRON_SCHEDULE:?CRON_SCHEDULE not set}"
#echo "$cron_schedule /backupbot.py" | crontab -
echo "$cron_schedule backup create" | crontab -
crontab -l
crond -f -d8 -L /dev/stdout