Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] add 'not' counterpart to all 'only' filters #4729

Open
kzshantonu opened this issue Mar 15, 2024 · 0 comments
Open

[feature] add 'not' counterpart to all 'only' filters #4729

kzshantonu opened this issue Mar 15, 2024 · 0 comments

Comments

@kzshantonu
Copy link

Output of restic version

restic 0.16.3 compiled with go1.21.6 on linux/amd64

What should restic do differently? Which functionality do you think we should add?

Currently there are some really handy 'only' filters: --host, --path, --tag. I propose the opposite of these (including specifying multiple times).

What are you trying to do? What problem would this solve?

Would like to rewrite all snapshots (but not ones tagged 'manual'), forget all snapshots except ones from one (or two) hosts (or paths), etc. Totally ignore manual snapshots when listing snapshots, but list everything else, etc.

Did restic help you today? Did it make you happy in any way?

Totally! Have been using restic for ~3 years and successfully recovered multiple times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant