title: How can I dump a single Redis DB index?
body: <p>Redis SAVE and BGSAVE commands dump the complete Redis data to a persistent file.
  But is there a way to dump only one DB index?</p>
  <p>I am using the same Redis server with multiple DB indices.
  I use DB 0 as config which is edited manually and contains just a small number of keys. I wish to dump this to a file as a config snapshot (versioned) to keep track of manual changes in the prod environment.
  The rest of the DBs have a large number of items, that will take too long to dump, and I don't need to back them up.</p>