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? |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
|
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? |
Beta Was this translation helpful? Give feedback.
-
|
Oh sorry I just saw there are "path" messages for each file that I could use! |
Beta Was this translation helpful? Give feedback.
No, the message should be enough.