Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Backblaze Custom Exclude
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/.git/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
@jsonmaur

This comment has been minimized.

Copy link
Owner Author

commented Dec 2, 2017

In /Library/Backblaze.bzpkg/bzdata

@Jarrid

This comment has been minimized.

Copy link

commented Jan 21, 2018

This is awesome.
For anyone wondering how to get into the .bzpkg folder, the user needs to:
Go to the root Library folder, right-click the Backblaze.bzpkg , and click “Show Package Contents”

@celsowhite

This comment has been minimized.

Copy link

commented Sep 13, 2018

@jsonmaur thanks for this. Do you know if I need to restart backblaze or re-source this xml file for the new excludes to take effect? My backblaze is still backing up node_modules even though I have the exclude rules setup.

@knikel

This comment has been minimized.

Copy link

commented Sep 19, 2018

@celsowhite: Each line is lacking contains_2="*" property, therefore is invalid (as per Backlaze's docs)

Rule 3: An excludefname_rule must specify all criteria. Use "*" to skip criteria.

For each line to be valid, all of the properties below must be specified:

  • plat
  • osVers
  • ruleIsOptional
  • skipFirstCharThenStartsWith
  • contains_1
  • contains_2
  • doesNotContain
  • endsWith
  • hasFileExtension
@jsonmaur

This comment has been minimized.

Copy link
Owner Author

commented Oct 19, 2018

Thanks for the info @knikel. Looks like they updated their format since I set this up--those values weren't required before. I'll make the necessary changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.