yannh / redis-dump-go

Backup & Restore your Redis server - FAST
MIT License
271 stars 58 forks source link

unreconized type stream #16

Open kurtmc opened 3 years ago

kurtmc commented 3 years ago

I am attempting to use this to backup a redis instance that I am using with lorawan-stack and when I run the tool I am getting the following output:

*2
$6
SELECT
$1
0
Database 0: 5 element dumpedError: Key ttn:v3:ns:application-uplinks:uid:halter:uplinks:invalidation is of unreconized type stream

For more context I am using AWS ElastiCache engine version 5.0.5.

yannh commented 3 years ago

Hi @kurtmc , thanks for the report! It looks like this is not supported yet. What would be the expected behaviour - that the Stream is recreated on the target redis server?

Happy to accept a patch, even if only for the test! Otherwise I might get to it but I can't promise when.

kurtmc commented 3 years ago

Thanks for the response @yannh. I guess I don't really know what they expected behavior should be. My goal was just to make a backup of all the data in redis so that I could restore it if something went wrong and I broke some of the data in the application. As I have been thinking about it I have decided just to make use of the AWS backup mechanism so I won't pursue getting it working with this tool.