I'm running a Game server which uses a Redis database. I'm not familiar with NoSQL Db's.
I'm trying to extract some information from this database but I can't find the commands to do it with redis-cli. For the purpose I've made screenshots using Fastoredis under Windows but the server is running under Debian and I'm using redis-cli as client (Sorry I havn't enough reputation to post image so here a links to my images).
First I want to get from the "table" (don't know if I can call it a table) "entityinfo" all items having the EntityType=Ship. From these items I like to get the information "Shiptype", "EntityName" and "TribeID" (Doesn't show up on the screenshot). I want to save these information in a file called ship.txt.
Then from a second table called "tribedata" I want to get all items with the information TribeID and TribeName. I want to save these information in a file called tribe.txt.
This is for a Game Server DB runing under Debian Stretch with latest redis-server (3.2.6) package installed.
I've already tried to use the command redis-cli --csv lrange
but I don't really know how it works and that's why I get no results.