mtlynch / resticpy

Minimal Python wrapper around the restic backup command-line interface.
https://mtlynch.github.io/resticpy/
MIT License
48 stars 17 forks source link

Feature request: filter snapshots on path #162

Open jwellner opened 3 weeks ago

jwellner commented 3 weeks ago

Thanks for creating and maintaining this project!

I started to use it and it works great! I only need to filter snapshots on specific paths.

Right now I filter the results myself but it would be nice if we could use:

restic.snapshots(path='/backup/path/site') (and maybe also implement the host filter?)

mtlynch commented 3 weeks ago

Thanks for reporting this!

I don't implement feature requests, but I'm happy to accept the PR for this if you or someone else would like to implement it.