Replies: 3 comments 1 reply
-
Hey -- what you're looking at should be something you can do with a hook, but the backrest docker package may not be easy to setup correctly for what you're trying to do. Managing mounts typically works best with a baremetal install that can access host devices, etc. |
Beta Was this translation helpful? Give feedback.
-
Right! It would be very simple if I weren't using Docker. A possible alternative could be a hook like this?
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestions. This makes easier to check that if drive is mounted. In addition, you can check the repository existence with This is my pre-backup hook script:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to use a second internal SSD plus as repository.
The SSD is mounted by the host and then by Docker, but I'd like to verify that it's properly mounted before running a snapshot.
Is it possible to do this by HOOK?
From the host it's something like
if mount /mnt/second-ssd
but I'm not sure how to do it from the container or if I should consider a different approach.Beta Was this translation helpful? Give feedback.
All reactions