title: Copy .bak file to another Windows server
body: <p>I have <code>.bak</code> files that created by a job on SQL Server every night. I want the <code>.bak</code> file to be copied to another server. I created a job running the command </p>
  
  <pre><code>EXEC xp_cmdshell 'copy "G:\Source\folder\file.bak" "\\destination\Work\folder\"'
  </code></pre>
  
  <p>but the job creates the a copy of the <code>.bak</code> file on the source machine but in different directory.</p>
  
  <p>Any idea about what I am doing wrong?</p>
  
  <p>Thanks</p>