Repository navigation
borg create: progress stuck at "Initializing cache transaction: Reading files" #9215
|
Hi, I'm working on a frontend for borg and I like that it's already sending meaningful log messages (with --progress --log-json) that I can simply forward to the user. The one thing I'd like to ask is: when using borg create, the progress messages kind of stop at "Initializing cache transaction: Reading files", so this will be shown for an hour if it's an hour-long upload to the repo. For the user it's a bit misleading, so I wish there was another message after that like "Transferring data to repository" or something along those lines. Or maybe there's some message that I could re-interpret to let the user know that everything is going as planned? |
Replies: 3 comments 1 reply
|
We are talking about borg 1.x, right? The cache is local and reading its files shouldn't take that long. |
|
Yes, Borg 1.4. So these are the messages (borg create): Right now, I'm just displaying the "message" texts. Would you propose that I parse the "operation" message and display a text of my own? |
|
Oh sorry I just saw there are "path" messages for each file that I could use! |
No, the message should be enough.