redis scan tool. dump data to file
go install github.com/yedamao/harvester/cmd/harvester@latest
harvester -h
Usage of harvester:
-action string
dump the key data (default "dump")
-matchPattern string
scan match pattern (default "*")
-parallel int
the number of worker to run parallel (default 1)
-redisUrl string
eg: redis://<user>:<password>@<host>:<port>/<db_number>. separated by commas.
- dump keys with idle time
- dump
Strings
as key urlencode(val) - dump
Hashes
as key field urlencode(val) - dump
Sorted sets
as key score urlencode(member) - Other types TODO