title: Copying Mongodb gives SyntaxError: missing ) after argument list (shell):1
body: <p>I am trying to copy a MongoDB database from my (local) development machine to my (remote) test server.</p>
  
  <p>When I am logged in to my test server, I do the following:</p>
  
  <blockquote>
    <p>db.copyDatabase("myDB","myDB",xxx.xxx.xxx.xxx);</p>
  </blockquote>
  
  <p>Where xxx.xxx.xxx.xxx is my external IP.</p>
  
  <p>I get the error: </p>
  
  <blockquote>
    <p>SyntaxError: missing ) after argument list (shell):1</p>
  </blockquote>
  
  <p>Which doesn't seem to make sense. I've tried adding an extra ) (although I was pretty sure that wasn't actually going to solve it ) but funnily it gives exactly the same error. I'm totally stumped since it seems to make no sense.</p>