Support attic's --exclude-caches #13

Closed
opened 2018-01-05 05:33:40 +00:00 by import_bot · 5 comments
Collaborator

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.

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

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.

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

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.

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

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.

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

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.

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

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.

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.
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#13
No description provided.