Replies: 1 comment 3 replies
-
Thank you for your ideas! Do I get your first point correctly? You suggest to only show status updates for the profile that is currently selected? Regarding directory size count: Supporting all patterns borg supports basically forces us to rewrite the pattern parser of borg. A solution for this could be calling I will open a feature request for your ideas if you don't beat me to it. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Improve borg output
Greetings! for quite some time, I have found the profile-based borg output on Vorta's status bar pretty messy. It gets all mixed up among the child processes, and I can't even know what's going on.
Say we have two profiles named
Default
andRemote
. If both profiles backup at once, they will have their[<profile name>] <path>
line on the status bar, and the borg processes will "compete" to show output to the user.I am guessing it was done this way because the devs didn't expect users to do two or more backups at once, as this is CPU- and IO-intensive, or for some other reason. But that's how I do it, and my old PC handles it well.
So, I suggest a more logical and organized output writing: the currently selected profile must be checked before output is shown, and then one of the borg processes forked by vorta and associated with that profile will be selected to show its output on the status bar. The processes associated with the other profiles will never be able to show output unless their respective profile is currently selected by the user on the "Current Profile: " checkbox. So, for example, if
Remote
is the current profile, andDefault
is backing up as well, then only borg output for theRemote
profile/repo will be shown. This way, it will not be as messy as it gets now.Another huge issue I see is the Python exception output when something goes wrong. It shouldn't be shown on the status bar, that is not user-friendly. And if it needs to be that way, at least format/ellipsise the exception string to fit on the GUI. In my humble opinion, those exceptions should be written to the vorta log only, not to the status bar.
Another idea: when the user clicks the "log" link (as in
Check the log for details.
), the log file (vorta.log) should be opened with the default text editor. It doesn't make sense to open its containing folder with the default file manager. Also not as practical.Compute directory size/file count with regular expression patterns
When the user clicks on the "reload" icon, below where the size and file count are computed for each file and folder added for backup, only simple shell patterns are taken into account.
This pattern:
*.cache/
and this one:
re:^.*\.cache/
should have the same effect, and they do have on the borg processes, but they don't on vorta. Vorta will only consider the first pattern, whereas borg, as expected, will properly exclude the .cache dir based on either pattern. This is confusing for the user. As vorta, like borg, is made in Python, it should leverage the
re
module for these filesystem computations with such patterns.Beta Was this translation helpful? Give feedback.
All reactions