Maybe in yellow when borgmatic starts taking a backup
and in red when there is an error
If I have more ideas I’ll try but I’m combining it with xtrabackup it doesn’t help much visibility lol
Add colors in debug output.
Red, green, yellow, blue
Maybe in yellow when borgmatic starts taking a backup
and in red when there is an error
If I have more ideas I'll try but I'm combining it with xtrabackup it doesn't help much visibility lol
Implementation note: Today, much of the Borg info or debug output is sent directly to stdout or stderr. So in order to colorize it, we’d have to capture the Borg output, apply color to it, and then output it.
Implementation note: Today, much of the Borg info or debug output is sent directly to stdout or stderr. So in order to colorize it, we'd have to capture the Borg output, apply color to it, and then output it.
Add colors in debug output.
Red, green, yellow, blue
Maybe in yellow when borgmatic starts taking a backup and in red when there is an error
If I have more ideas I’ll try but I’m combining it with xtrabackup it doesn’t help much visibility lol
Implementation note: Today, much of the Borg info or debug output is sent directly to stdout or stderr. So in order to colorize it, we’d have to capture the Borg output, apply color to it, and then output it.
Yes, I realized the output is from borg for the most part