title: generate redis dump file or json file from remote redis server
body: <p>I'm using rdb-tool to generate json file from Redis dump file. For example:</p>
  
  <pre><code>rdb --command json /opt/redis/data/master.rdb --db 8 &gt; /opt/redis/data/latest.json
  </code></pre>
  
  <p>is there anyway that I can generate Redis json data file from remote server? something similiar to this:</p>
  
  <pre><code>rdb --command json --db 8 --host myhost.com --port 6378 &gt; /opt/redis/data/latest.json
  </code></pre>
  
  <p>Thanks</p>