Support exclude-from #36
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#36
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Borg's cli supports an exclude-from flag which allows you to provide a file with a list of exclude patterns.
Imported from Taiga issue 35 (done). Created on 2017-07-31T01:59:22+0000 by Peter Brunner.
Have you seen the existing support for the exclude_patterns listed directly in the borgmatic config file? Do you have a use case that that doesn't work for, where you need to read the patterns from an external file?
Comment on 2017-07-31T03:09:31+0000 by Dan Helfman.
My primary use for it is to take advantage of OS X's ability for the os and applications to mark things to not be backed up by using
/usr/bin/mdfind "com_apple_backup_excludeItem = 'com.apple.backupd'" / >| ~/.config/borg/system_excludes
to generate a system_excludes file.Comment on 2017-07-31T04:54:33+0000 by Peter Brunner.
Got it. Thanks for the explanation!
Comment on 2017-07-31T05:21:44+0000 by Dan Helfman.
As of borgmatic 1.1.6 (just released), you can specify an "exclude_from" list of one or more filenames within the "location" section of borgmatic config.
Comment on 2017-08-06T06:35:50+0000 by Dan Helfman.