Hi all folks.
Looking desperately for a mechanism to save the data handled by OMV in Hetzner Storage Boxes (tried everything I could think of including rsync scripts but as no SSH commands no easy way to handle retention policies) I ended installing and using BorgBackup plugin that, at least, is doing the job.
But the plugin falls short under my point of view. Yes, we can configure repos and launch backup tasks, but we have no other kind of information about the repos. For example we do not know how much space we are using in the repos, nor the compressed and deduped size they are taking. And lot of stuff must be done from the command line (mounting a given archive not the full repo for example).
Regarding the actual 'Archives' tab, I think this shouls be named Jobs or Tasks because it defines the jobs (or taks) to get done not the archives that are created. The actual archives are listed when you click the 'List' button not when you go the the archives tab.
And there should exist a new 'Archives' tab that listed all the archives that we have in each repo with its original, compressed and deduped size (at the very least) as we get from the info borg query. This listing should be in a collapsable panel hanging over the corresponding repo entry (the repo they belong to). And it is here where we should have the 'mount' command to mount a given archive and not the whole repo (the full mount still can be useful nonetheless) .
So I tried to achieve something of this by myself. I managed to rename the 'Archives' tab (and all the related code) and have a functional 'Jobs' tab. This was easy as you only have to go to all the related files that someone else's has already worked out (and they are only in two places) so nothing to be proud of.
Now comes the difficult part that is to build a whole new tab with the actual archives info. And this is where I am stuck. I do not know enough ExtJS nor OMV programming model to know how to make this collapsable listing nor to make the borg calls nor to fill up the data structures to hold the data to be presented. Mostly this should be what the 'List' button does for a repo but presented in its own tab.
So I request your help. I have seen that you folks are quite helpful and supportive so may be that it could be possible to improve this plugin and make it truly useful to make it easy for an admin to publish an archive contents to a SMB share without needing to go SSH.
The attached image shows some of the former concepts I have been talking about.
And if this is not possible or of any interest for anyone thanks anyway for your time and for having developed such a good product for all of us.
Miguel.