Does someone manage (un)mounting via user-callback scripts?

Hello, Does someone of you manage mounting and unmouting via user-callback scripts and provide this as an example? Or can someone imagine a possible use case where it would make sense do manage mounting via user-callback script? But without root rights. Thanks Christian

On 9/24/24 9:27 AM, c.buhtz@posteo.jp wrote:
Hello, Does someone of you manage mounting and unmouting via user-callback scripts and provide this as an example?
Or can someone imagine a possible use case where it would make sense do manage mounting via user-callback script? But without root rights.
On a laptop that travels, when it's at home, I first check whether the target (remote) filesystem is mounted before running a snapshot; when it's away, it needs not to try a snapshot. So, I've not set up Back-in-Time to run via cron. Instead, I have a simple script I run manually when the laptop is at home to run snapshots; when away, I just don't run the script.
participants (2)
-
c.buhtz@posteo.jp
-
Tim Evans