Log mysqldump output to console #396
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#396
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be nice to have mysqldump output logged to console - I mean the err output not std. This is used when we add
--verbose
to options field.This can help to better debug mysqldump state.
I tested to modifie execute.py (because of Bug witten/borgmatic#397) and I see output from borg - but not from mysqldump... very stange...
if I execute
mysqldump ---myparams --verbose >/tmp/dump_out 2>/tmp/dump_err
the file dump_err contains all the steps mysqldump has done.I apologize for the super lengthy delay in getting to this. I agree that it'd make sense for
mysqldump
command error output to get logged by borgmatic. The main use case I can see is that when borgmatic runsmysqldump
and it blows up, you want to dig into what went wrong!I have a fix in hand that I need to do a little more testing on, and then it'll be ready for release.
Related: #485.
Okay, this is fixed in master now and will be part of the next release. Thanks for reporting it!
Released in borgmatic 1.7.10!