Support attic's --exclude-caches #13
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#13
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?
attic has an --exclude-caches option that atticmatic should support.
--exclude-caches exclude directories that contain a CACHEDIR.TAG file
(http://www.brynosaurus.com/cachedir/spec.html)
Thank you.
Imported from Taiga issue 12 (done). Created on 2015-09-09T13:45:45+0000 by Florian Dejako.
Great idea. Looks like both Attic and Borg support this option:
https://attic-backup.org/usage.html#attic-create
https://borgbackup.github.io/borgbackup/usage.html#borg-create
Do you think this would be best specified as another atticmatic command-line argument where you can specify an exclude caches filename, kind of like "--excludes" works now? And it could have a default path within /etc/atticmatic/[something].
Comment on 2015-09-10T03:22:32+0000 by Dan Helfman.
I'd probably make it an option in config. Something like "exclude_caches: true".
For future additions, a generic "additional_command_options:" field would be convenient for some other options of either borg or attic that atticmatic may not support.
Comment on 2015-09-10T19:23:21+0000 by Florian Dejako.
That makes sense. I was thinking that it was a filename value like --excludes, but looks like it's just a flag.
Comment on 2015-09-11T03:02:33+0000 by Dan Helfman.
For the "additional_command_options" part, I added a new ticket (#14) that covers that in a more generalized way.
Comment on 2015-09-20T02:33:42+0000 by Dan Helfman.
As of borgmatic 1.1.6 (just released), you can specify an "exclude_caches: true" within the "location" section of borgmatic config.
Comment on 2017-08-06T06:36:54+0000 by Dan Helfman.