Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mattbrailsford/01a792f2eb7ed19b310239c0e05e793c to your computer and use it in GitHub Desktop.
Save mattbrailsford/01a792f2eb7ed19b310239c0e05e793c to your computer and use it in GitHub Desktop.
Developer BackBlaze folder/file exclussions
<?xml version="1.0" encoding="UTF-8" ?>
<bzexclusions>
...
<!-- Exclude dropbox folder -->
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\Dropbox\" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<!-- Exclude git folders -->
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\.git\" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<!-- Exclude mercurial folders -->
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\.hg\" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<!-- Exclude svn folders -->
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\.svn\" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<!-- Exclude node_modules folders -->
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\node_modules\" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<!-- Exclude nuget package folders -->
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\packages\" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<!-- Exclude resharper folders -->
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\_ReSharper." contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<!-- Exclude bin folders -->
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\bin\Debug\" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\bin\Release\" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\obj\Debug\" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\obj\Release\" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<!-- Exclude umbraco folders -->
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\App_Data\TEMP\" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\App_Data\Logs\" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<!-- Exclude sql databases -->
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="*" contains_1="*" contains_2="*" doesNotContain="*" endsWith=".mdf" hasFileExtension="mdf" />
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="*" contains_1="*" contains_2="*" doesNotContain="*" endsWith=".ldf" hasFileExtension="ldf" />
<!-- Exclude dotpeek cache files -->
<excludefname_rule plat="win" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith=":\Users\" contains_1="\dotPeek\" contains_2="*" doesNotContain="*" endsWith="cache.dat" hasFileExtension="dat" />
...
</bzexclusions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment