Feature request: Implement PATH argument from borg list #269

Closed
opened 2019-12-05 10:04:22 +00:00 by NielsH · 2 comments

Hello!

With borg list it is possible to supply a PATH argument to filter which paths are displayed when listing the contents of a backup.
For example:

borg list ::myserver-2019-12-03T12:40:51.284470 var/www

Would display only the contents of /var/www in the backup archive.
Would it be possible to also implement this in borgmatic?

Thank you!
Niels

Hello! With `borg list` it is possible to supply a `PATH` argument to filter which paths are displayed when listing the contents of a backup. For example: ``` borg list ::myserver-2019-12-03T12:40:51.284470 var/www ``` Would display only the contents of `/var/www` in the backup archive. Would it be possible to also implement this in borgmatic? Thank you! Niels
Owner

Yup, this seems reasonable.. I wasn't aware of this Borg feature! Seems like a borgmatic list --path flag take care of that. Thanks for the suggestion.

Note that in the meantime, there is an existing borgmatic list --prefix flag which may suit your use case.

Yup, this seems reasonable.. I wasn't aware of this Borg feature! Seems like a `borgmatic list --path` flag take care of that. Thanks for the suggestion. Note that in the meantime, there is an existing `borgmatic list --prefix` flag which may suit your use case.
witten added the
design finalized
label 2019-12-05 19:55:28 +00:00
Owner

Released in borgmatic 1.4.18. Use the new borgmatic list --path flag to filter based on path. Thanks again!

Released in borgmatic 1.4.18. Use the new `borgmatic list --path` flag to filter based on path. Thanks again!
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#269
No description provided.