title: Replicate a single Redis database from an instance that has multiple databases
body: <p>I have one Redis instance that has two databases. Now I want to set up a second instance and <a href="http://redis.io/topics/replication" rel="noreferrer">replicate</a> the first instance, but the second instance should only have one database and replicate only db 0 from the first instance.
  When I try to do it (set <code>slaveof ...</code> for the second instance) I get the following error message in the Redis log file:</p>
  
  <pre><code>FATAL: Data file was created with a Redis server configured to handle more than 1 databases. Exiting
  </code></pre>
  
  <p>I tried using <a href="https://github.com/delano/redis-dump" rel="noreferrer">redis-dump</a> but I get an error when I try to import the generated dump into the new instance. (not related to 2 dbs vs. 1 db I think, rather a bug in redis-dump, which is still in alpha.</p>
  
  <p>What to do?</p>