Skip to content
Discussion options

You must be logged in to vote

Ok, found it. Added the line below and copied some bash scripts in the host path .../scripts/

services:
backrest:
image: garethgeorge/backrest:latest
container_name: backrest
hostname: backrest
volumes:
- CHANGE_TO_COMPOSE_DATA_PATH/backrest/data:/data
- CHANGE_TO_COMPOSE_DATA_PATH/backrest/config:/config
- CHANGE_TO_COMPOSE_DATA_PATH/backrest/cache:/cache
- CHANGE_TO_COMPOSE_DATA_PATH/backrest/scripts:/scripts
environment:
- BACKREST_DATA=/data # path for backrest data. restic binary and the database are placed here.
- BACKREST_CONFIG=/config/config.json # path for the backrest config file.
- XDG_CACHE_HOME=/cache # path for the restic cache which greatly improves performance.
- TZ=Europ…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by berti34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant