|
|
@@ -7,18 +7,18 @@ CONTAINER_NAME="borgmatic"
|
|
|
|
|
|
# Some of those volumes seem useless, e.g. :
|
|
|
# * the repository (which can be mounted within the container)
|
|
|
-# * the cache / state volumes (which can be managed volumes instead of directories)
|
|
|
# * mounting the data to save on a precise mount point (one could have several..)
|
|
|
podman run \
|
|
|
-h ${HOSTNAME} \
|
|
|
+ --replace \
|
|
|
--detach \
|
|
|
--name ${CONTAINER_NAME} \
|
|
|
-v /home/:/mnt/home:ro \
|
|
|
-v ./data/repository:/mnt/borg-repository \
|
|
|
-v ./data/borgmatic.d:/etc/borgmatic.d/ \
|
|
|
- -v ./data/.config/borg:/root/.config/borg \
|
|
|
-v /home/theenglishway/.ssh:/root/.ssh \
|
|
|
- -v ./data/.cache/borg:/root/.cache/borg \
|
|
|
- -v ./data/.state/borgmatic:/root/.local/state/borgmatic \
|
|
|
+ -v borg_config:/root/.config/borg \
|
|
|
+ -v borg_cache:/root/.cache/borg \
|
|
|
+ -v borgmatic_state:/root/.local/state/borgmatic \
|
|
|
-e TZ=Europe/Paris \
|
|
|
ghcr.io/borgmatic-collective/borgmatic
|