title: Backup List in Sharepoint 2010 in Shell
body: <p>I want to backup a List of Sharepoint 2010 using the powershell.</p>
  
  <p>I can backup the list using the central Administration and can also backup the whole Site using </p>
  
  <pre><code>Export-SPWeb -Identity http://siteurl:22222/en-us -Path \\public\backup.cmp
  </code></pre>
  
  <p>But when I try to export a specific List (with the path that is also shown using the Central Administration):</p>
  
  <pre><code>Export-SPWeb -Identity http://siteurl:22222/en-us/Lists/MyList -Path \\public\backup.cmp
  </code></pre>
  
  <p>I receive the error: </p>
  
  <blockquote>
    <p>"The URL provided is invalid. Only valid URLs
    that are site collections or sites are allowed to be exported using
    stsadm.exe"</p>
  </blockquote>
  
  <p>I also tried</p>
  
  <p><code>Export-SPWeb -Identity <a href="http://siteurl:22222/en-us">http://siteurl:22222/en-us</a> -Path \\public\backup.cmp -ItemURL</code> <a href="http://siteurl:22222/en-us/Lists/MyList">http://siteurl:22222/en-us/Lists/MyList</a> 
  getting the same error</p>
  
  <p>Thanks in advance</p>