Feature request: Implement PATH argument from borg list #269

Closed
opened 2 years ago by NielsH · 2 comments
NielsH commented 2 years ago

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 2 years ago
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!
witten closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.