forked from coop-cloud/backup-bot-two
choos specific restore target
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user