borgapi icon indicating copy to clipboard operation
borgapi copied to clipboard

Progress flag useless?

Open OzzieIsaacs opened this issue 3 years ago • 1 comments

The borgbackup option "--progress" can be applied to the command, but currently the output of the command is only parsed after the borgbackup command exists.

So the progress output is useless?

I don't know if it would make sense to have an asynchronous interface to borgbackup and you could parse the real time output. (Maybe not feasible as this would change a lot of the interface).

So maybe a hint in the readme would improve the situation

OzzieIsaacs avatar Jul 04 '22 08:07 OzzieIsaacs

Ah yes, good point! I think there might be a solution using ayncio and adding another handler to watch the progress info. And doing it this way won't require too much code restructuring.

spslater avatar Mar 13 '23 17:03 spslater