title: Restoring from a single instance mongodb to an empty replica set
body: <p>I have a mongodb installed on windows server. I take regular backups of the data/db folder using Rackspace backup.</p>
  
  <p>I created a deployment of a mongodb replica set with 3 ubuntu servers using Rackspace deployments. Now I want to move the data on windows to the empty replica set. How can I do it?</p>
  
  <p>I tried copying the contents of data/db on windows to var/lib/mongodb on the primary replica set. It didn't work.</p>
  
  <p>For some reason the var/lib/mongodb on the ubuntu machines does not contain data/db directory. When I create a new db the db files are created on var/lib/mongodb directory.</p>