2

I'm doing an ExportWeb method through powershell from sites.asmx in SharePoint 2013, and the exportweb job is still pending, even after days.

$uri = "http://sharepoint/_vti_bin/sites.asmx"
$service = New-WebServiceProxy -Uri $uri -NameSpace Sites -UseDefaultCredential
$exportjob = $service.ExportWeb("RootExportJob", 
                            "http://sharepoint/",                                 
                            "http://sharepoint/sitecollectiondocuments",
                             $false, $true, $true, 2014)

Then starts (I'm assuming) the export job, but it will constantly stay at pending. Is there something I'm missing?

4
  • Have you checked the iis logs?
    – psdpainter
    Jun 2, 2014 at 15:54
  • how big is the site? are you exporting the site collection or subsite? did you see the Cab file?
    – Waqas Sarwar MVP
    Jun 2, 2014 at 18:04
  • Not sure what to look for in the logs (no errors), and the site should be relatively small (less than 500mb). I'm exporting the root site collection web (/), just the web no subwebs, which is why I went with the sites.asmx in the first place because it has a bool value called includesubwebs which I set to false.
    – Mike
    Jun 2, 2014 at 19:03
  • The cab file is an empty file.
    – Mike
    Jun 3, 2014 at 15:47

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.