Support exclude-from #36

Closed
opened 2018-01-05 05:34:24 +00:00 by import_bot · 4 comments
Collaborator

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.

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.
Author
Collaborator

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.

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.
Author
Collaborator

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.

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.
Author
Collaborator

Got it. Thanks for the explanation!


Comment on 2017-07-31T05:21:44+0000 by Dan Helfman.

Got it. Thanks for the explanation! --- Comment on 2017-07-31T05:21:44+0000 by Dan Helfman.
Author
Collaborator

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.

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.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#36
No description provided.