Show the results of configuration file merging #673
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
What I'm trying to do and why
During validation of a Borgmatic configuration file it would be helpful in debugging what is wrong if one could see the results of the merge and if there any errors, the result of the merge up to that error.
Steps to reproduce (if a bug)
Include (sanitized) borgmatic configuration files if applicable.
Actual behavior (if a bug)
Include (sanitized)
--verbosity 2output if applicable.Expected behavior (if a bug)
Other notes / implementation ideas
Environment
borgmatic version: [version here]
Use
sudo borgmatic --versionorsudo pip show borgmatic | grep ^Versionborgmatic installation method: [e.g., Debian package, Docker container, etc.]
Borg version: [version here]
Use
sudo borg --versionPython version: [version here]
Use
python3 --versionDatabase version (if applicable): [version here]
Use
psql --versionormysql --versionon client and server.operating system and version: [OS here]
I appreciate you filing this. It seems like a totally reasonable user debugging tool, perhaps as part of the existing
validate-borgmatic-configwith an additional flag.yes. maybe a --verbose or --list
I went with a
--showflag. This is now implemented in master and will be part of the next release. The documentation will be here shortly: https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#debugging-includesThanks again for the idea!
This has been released as part of borgmatic 1.7.12!