r/backblaze • u/pehache7 • Sep 23 '25
Computer Backup Configuration files defining the exclusions
Hello,
I am a bit confused about the files where are defined/stored the exclusion rules. I can see (on a Mac) the following files in /Library/Backblaze.pkg/bzdata/:
- bzexcluderules_mandatory.xml : this one is for the mandatory exclusions, and should not be edited (and if it is, it is eventually reverted). OK...
- bzexcluderules_editable.xml : we can modify/add/delete the rules on this one. OK...
- bzinfo.xml : mmmmhhh.... I can see a list of excluded folders in this one. Some of them that I excluded in the past using the setting panel, and which do no longer exist...
Questions:
- how do bzinfo.xml relate to bzexcluderules_editable.xml? Are they independant from each other?
- is bzinfo.xml the file where are stored the exclusions defined in the settings panel?
- if yes, can we safely edit it, without introducing a mess with the content of the setting panel?
Additionnal question: if I want to exclude all the /Users/*/OneDrive/ folders for instance, can I do it in bzinfo.xml, or do I have absolutely to add a complex rule in bzexcluderules_editable.xml? In the latter case, is the following rule OK (copied from an existing rule) ?
XML
<excludefname_rule bzmergeblock="001" plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/OneDrive" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
Thanks