AME filter doesn't show dry-run content #111

Closed
opened 2018-11-27 16:06:14 +00:00 by oskapt · 3 comments

When building out the include/exclude configuration on a host, I like to run borg with --dry-run --filter AME- to show what would be backed up. This helps me refine my patterns to make sure they're working as expected.

It appears that --dry-run sets borgmatic's filter to AME, which doesn't show this content.

Would it be possible to add the - when running with --dry-run?

When building out the include/exclude configuration on a host, I like to run borg with `--dry-run --filter AME-` to show what _would_ be backed up. This helps me refine my patterns to make sure they're working as expected. It appears that `--dry-run` sets borgmatic's filter to `AME`, which doesn't show this content. Would it be possible to add the `-` when running with `--dry-run`?
Owner

Yup, that makes total sense. I wasn't aware of the - flag until now.

Yup, that makes total sense. I wasn't aware of the `-` flag until now.
Owner

Implemented in master. Will go out as part of the next release!

Implemented in master. Will go out as part of the next release!
Owner

Just released in borgmatic 1.2.12!

Just released in borgmatic 1.2.12!
Sign in to join this conversation.
No Milestone
No Assignees
2 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#111
No description provided.