add check-backup container
This commit is contained in:
parent
25bc71f0f0
commit
1602b7b771
1 changed files with 15 additions and 0 deletions
|
@ -194,6 +194,21 @@ services:
|
|||
volumes:
|
||||
- ./data/restic/ssh/:/run/secrets/.ssh:ro
|
||||
|
||||
# prüft ob backups noch in Ordnung sind, evtl. erweitern zum prüfen der Daten
|
||||
check-backup:
|
||||
image: registry.git.base23.de/base23/backup/resticker:0.17.0
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
#RUN_ON_STARTUP: "true"
|
||||
SKIP_INIT: "true"
|
||||
CHECK_CRON: "00 08 04 * * *"
|
||||
RESTIC_REPOSITORY: sftp://${RESTIC_REPO_USER:?Restic repository user is required}@${RESTIC_REPO_ADDRESS:?Restic repository address is requried}:${RESTIC_REPO_PORT:?Restic repository port is required}//backup
|
||||
RESTIC_PASSWORD: ${RESTIC_REPO_PASSWORD}
|
||||
#POST_COMMANDS_FAILURE: echo "Post Command Failure test" > /restic/message
|
||||
TZ: Europe/Berlin
|
||||
volumes:
|
||||
- ./data/restic/ssh/:/run/secrets/.ssh:ro
|
||||
|
||||
restore-cli:
|
||||
image: registry.git.base23.de/base23/backup/resticker:0.17.0
|
||||
entrypoint: /entrypoint-restore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue