-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Hi support team,
I'm an absolute beginner in the docker world, but I faced a behavior which I do not understand.
Maybe you can support here:
My goal is to backup each volume in a different mount directory. I have currently two volumes, one for bitwarden and one for portainer data.
I'm running following command:
docker run -d
--name volumerize
-v /var/run/docker.sock:/var/run/docker.sock
-v bitwarden_data:/source/bitwarden_data:ro
-v portainer_data:/source/portainer_data:ro
-v /volume2/docker/volumerize/bitwarden_data:/backup/bitwarden_data
-v /volume2/docker/volumerize/portainer_data:/backup/portainer_data
-v volumerize_cache_bitwarden:/volumerize-cache/bitwarden
-v volumerize_cache_portainer:/volumerize-cache/portainer
-e "VOLUMERIZE_CONTAINERS=bitwarden portainer"
-e "TZ=Europe/Berlin"
-e "VOLUMERIZE_JOBBER_TIME=0 0 3 * * *"
-e "VOLUMERIZE_SOURCE1=/source/bitwarden_data"
-e "VOLUMERIZE_TARGET1=file:///backup/bitwarden_data"
-e "VOLUMERIZE_CACHE1=/volumerize-cache/bitwarden"
-e "VOLUMERIZE_SOURCE2=/source/portainer_data"
-e "VOLUMERIZE_TARGET2=file:///backup/portainer_data"
-e "VOLUMERIZE_CACHE2=/volumerize-cache/portainer"
blacklabelops/volumerize
after running the stuff and triggering a manual backup, it looks good.
I see some files in each mount directory and also some data in each volumerize_cache volume.
But it seems that in addition a additional volume was created with a cryptic ID: 0f6567cc6d2925475fb6e2df8bd726da7e2c8bf00fa11048ca71a5b808063f5f,
containing two empty folders with name "bitwarden" and "portainer".
This is what I didn't get.
Second question:
When running two instances of volumerize, for each volume a dedicated instance, can I share the volumerize_cache volume?
Do you have a template code for running two instances?
Sorry for those newbie questions, but sometimes it work's and sometime you learn. Today I learn ;-)
And the most important stuff: Thanks for this great software!!!
All the Best,
Lina