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

Filter keys #7

Closed
utkarsh-devops opened this issue Jun 30, 2020 · 4 comments
Closed

Filter keys #7

utkarsh-devops opened this issue Jun 30, 2020 · 4 comments

Comments

@utkarsh-devops
Copy link

utkarsh-devops commented Jun 30, 2020

Thanks @yannh You've created a very nice tool and it works perfectly well. I just have one query on keys filtering. How can I filter specific keys and dump those only?
eg: xyz:

@yannh
Copy link
Owner

yannh commented Jul 8, 2020

Hi @utkarsh-devops , you can not at the moment, I will look into adding this, but can't promise a timeframe! 👍

@yannh
Copy link
Owner

yannh commented Jul 11, 2020

Started looking into this, a couple of forks implemented it, it's not too hard since it's supported by Radix (the redis library we use). However it breaks the progress bar, since we use the database size to know when we are done - and we wouldn't be able to rely on this if we only dump part of it. 🤔 I'll think about this a bit more.

@yannh
Copy link
Owner

yannh commented Jul 11, 2020

I think I might get rid of the progress bar and output some statistics instead... I think a progress bar was somewhat useful, but it makes less sense in the context of multiple databases and using filters. Let me know if anyone really likes it, otherwise it's going away :)

@yannh yannh mentioned this issue Jul 11, 2020
@yannh
Copy link
Owner

yannh commented Jul 12, 2020

Implemented & released v0.4.0 ^ - had to rework the logging, so the progress bar is gone & replaced by some stats :) Be sure to use single quotes if you are going to use * in your filters!

@yannh yannh closed this as completed Jul 12, 2020
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

2 participants